Offer a way to truncate long log lines.
Test function illustrating what truncate_string does.
Merge pull request #2 from timeco/mj/truncate-log-lines

Truncate log lines