diff --git a/logstash/handler_udp.py b/logstash/handler_udp.py index 71789f5..1491943 100644 --- a/logstash/handler_udp.py +++ b/logstash/handler_udp.py @@ -14,7 +14,7 @@ class UDPLogstashHandler(TCPLogstashHandler, DatagramHandler): """ def makePickle(self, record): - return self.formatter.format(record) + return self.formatter.format(record) + b'\n' # For backward compatibility