Don't try to log newlines

Causes garbage in logs.
Merge pull request #6 from jaymzh/master

Don't try to log newlines