Format log messages

Just needed to split on newline.

Whoops. Since this is my master commit, this pull request contains the previous one too.