It happens even with "foo\nbar". "foo" is written but "bar" is nowhere to be found.<div><br></div><div>Not sure if it's relevant, but carriage returns pass through unaltered.<br><div><br>
Ian<br>
<br><br><div class="gmail_quote">On Wed, Dec 1, 2010 at 2:15 PM, Bill Anderson <span dir="ltr"><<a href="mailto:Bill.Anderson@bodybuilding.com" target="_blank">Bill.Anderson@bodybuilding.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If your lines are long, you might be running up against the line length limit. You might do something like the following in options:<br>
<br>
# maximum length of message in bytes<br>
# this is only limited by the program listening on the /dev/log Unix<br>
# socket, glibc can handle arbitrary length log messages, but -- for<br>
# example -- syslogd accepts only 1024 bytes<br>
# (default is 2048)<br>
log_msg_size(8192);<br>
<br>
And see if that helps.<br>
<br>
<br>
<br>
________________________________________<br>
From: <a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a> [<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>] On Behalf Of Ian Lesperance [<a href="mailto:ianl@ezpublishing.com" target="_blank">ianl@ezpublishing.com</a>]<br>
Sent: Wednesday, December 01, 2010 2:28 PM<br>
To: Syslog-ng users' and developers' mailing list<br>
Subject: Re: [syslog-ng] Extra Lines Truncated<br>
<div><br>
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.<br>
<br>
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>
<br>
Ian<br>
<br>
</div><div><div></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: <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>
</div></div></blockquote></div><br>
</div></div>