jaakkos/winston-logstash — pull request #2 by gwhitelaw (2013-05-23 11:11:30+00:00)
Title: Logs sent to logstash are interpreted as stream and therefore are incorrectly parsed

As the socket is not sending a new line with each log message the Logstash server (1.1.12) interpret it as incomplete. This results in all logs sent being interpreted as a single entry when the socket closes.

Fixed by adding a new line to the end of the message to ensure that the logstash server interprets as a complete log message.

I've updated the tests to reflect this. It might be that previous versions of Logstash server do not have this requirement.