Adding a new line to the end of the message to ensure that the logstash server interprets as a complete log message.
Merge pull request #2 from gwhitelaw/add_new_line_to_flush_socket

Logs sent to logstash are interpreted as stream and therefore are incorrectly parsed