Correctly send message, level and hostname

Fix issue #230 where the level would hold the message and the log level
information would be lost.
Change spaces by tabs

Keeping constitency with the rest of the code.
Remove test logging
0.6.18
#233: Adding ability to put pid in log layout pattern
#233: Adding ability to put pid in log layout pattern
Merge pull request #235 from j2ro/master

Pull request for #233