That makes sense, and it'd be great if that's what it did, but it actually seems to just drop the rest of the message entirely. The extra lines don't show up anywhere in the log file, with or without metadata.<div>
<br></div><div>Based on the search results I found on Google, I thought syslog-ng replaced newlines with spaces just like syslog. So that's no longer the case? I'd ask what version it was changed in, but I'm not seeing either behavior, so I doubt that's the issue.<br clear="all">
<br>Ian<br>
<br><br><div class="gmail_quote">On Wed, Dec 1, 2010 at 12:17 PM, Sandor Geller <span dir="ltr"><<a href="mailto:Sandor.Geller@morganstanley.com">Sandor.Geller@morganstanley.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Embedded newlines violate the traditional BSD syslog protocol so<br>
syslog-ng treats newlines as terminators so the next line would be in<br>
a new logmessage without timestamp, hostname, facility / priority,<br>
etc.<br>
<div><div></div><div class="h5"><br>
On Wed, Dec 1, 2010 at 8:54 PM, Ian Lesperance <<a href="mailto:ianl@ezpublishing.com">ianl@ezpublishing.com</a>> wrote:<br>
> When logging multiline messages (simple strings with in-line newlines) our<br>
> logs only show the first line. Everything after the first newline character<br>
> is gone.<br>
> We're on 3.0.5 and we don't seem to be using the no_multi_line option<br>
> anywhere. What else could explain this behavior?<br>
><br>
> Ian<br>
</div></div>> ______________________________________________________________________________<br>
> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
> Documentation:<br>
> <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
> FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
><br>
><br>
><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
</blockquote></div><br></div>