Merge pull request #255 from antonblanchard/log-length