Fix loggly formatting

Fix issue #230 and #213 where the level would hold the message and the log level
information would be lost.