<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">The problem is not the length of the messages, it is the '\r\n' that the application is inserting in the msg.&nbsp; We want syslog-ng to ignore the 'r\n'.<br><br><br><br>--- On <b>Wed, 8/26/09, ILLES, Marton <i>&lt;illes.marton@balabit.hu&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: ILLES, Marton &lt;illes.marton@balabit.hu&gt;<br>Subject: Re: [syslog-ng] syslog-ng 3.0 seem to chop some of the long lines off<br>To: "Syslog-ng users' and developers' mailing list" &lt;syslog-ng@lists.balabit.hu&gt;<br>Received: Wednesday, August 26, 2009, 9:34 AM<br><br><div class="plainMail">You can try setting the log_msg_size() to increase the maximum msg size.<br>What kind of source do you use?<br><br>M<br><br>On Tue, 2009-08-25 at 15:48 -0700, Joe Hansen wrote:<br>&gt; Just when things were
 going well, syslog-ng started to chop off lines<br>&gt; again.&nbsp; It seems to be doing this under heavy load.<br>&gt; <br>&gt; Will this get fixed in the later version?<br>&gt; <br>&gt; thanks,<br>&gt; Joe<br>&gt; <br>&gt; --- On Fri, 6/19/09, Joe Hansen &lt;<a ymailto="mailto:yrmf250@yahoo.com" href="/mc/compose?to=yrmf250@yahoo.com">yrmf250@yahoo.com</a>&gt; wrote:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;From: Joe Hansen &lt;<a ymailto="mailto:yrmf250@yahoo.com" href="/mc/compose?to=yrmf250@yahoo.com">yrmf250@yahoo.com</a>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Subject: Re: [syslog-ng] syslog-ng 3.0 seem to chop some of<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;the long lines off<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;To: "Syslog-ng users' and developers' mailing list"<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&lt;<a ymailto="mailto:syslog-ng@lists.balabit.hu"
 href="/mc/compose?to=syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Received: Friday, June 19, 2009, 9:32 PM<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;The application is custom in-house.&nbsp; I'm really not sure what<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;RFC they've followed.&nbsp; However your suggestion about using<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;'no-multi-line' seems to have take care of the split lines.<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Thanks,<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Jo<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;--- On Fri, 6/19/09, Balazs Scheidler &lt;<a ymailto="mailto:bazsi@balabit.hu" href="/mc/compose?to=bazsi@balabit.hu">bazsi@balabit.hu</a>&gt;<br>&gt;&nbsp; &nbsp; &nbsp;
 &nbsp;&nbsp;&nbsp;wrote:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;From: Balazs Scheidler &lt;<a ymailto="mailto:bazsi@balabit.hu" href="/mc/compose?to=bazsi@balabit.hu">bazsi@balabit.hu</a>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Subject: Re: [syslog-ng] syslog-ng 3.0 seem to chop<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;some of the long lines off<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;To: "Syslog-ng users' and developers' mailing list"<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&lt;<a ymailto="mailto:syslog-ng@lists.balabit.hu" href="/mc/compose?to=syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Received: Friday, June 19,
 2009, 4:38 AM<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;On Wed, 2009-06-17 at 12:10 -0700, Joe Hansen wrote:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; We're seeing lines in /var/log/messages that are<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;chopped off.&nbsp; They<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; should look like this:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; Jun 17 00:34:36 bxe1001 WORKER[18808]: DEBUG,email<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;header<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp;&nbsp;&nbsp;info,3893336992,1941292826,CPSendWork::ProcessConverterSuccessMessage,"man_id=551797512,srp_id=GBISXAPC00S07,from=From: ""<a ymailto="mailto:info@callcentres.net" href="/mc/compose?to=info@callcentres.net">info@callcentres.net</a>"" &lt;<a ymailto="mailto:info@callcentres.net" href="/mc/compose?to=info@callcentres.net">info@callcentres.net</a>&gt; ,to=To: ""Graeme Ross"" &lt;<a ymailto="mailto:gross@mobileemail.vodafone.com.au" href="/mc/compose?to=gross@mobileemail.vodafone.com.au">gross@mobileemail.vodafone.com.au</a>&gt;,subject=Turn-key call centre for lease. Launceston, Tasmania","worker/CPSendWork.cpp:858"<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; But they look like this:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp;&nbsp;&nbsp;&gt; Jun 17 00:34:36 bxe1001 WORKER[18808]: DEBUG,email<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;header<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;info,3893336992,1941292826,CPSendWork::ProcessConverterSuccessMessage,"man_id=551797512,srp_id=GBISXAPC00S07,from=From: ""<a ymailto="mailto:info@callcentres.net" href="/mc/compose?to=info@callcentres.net">info@callcentres.net</a>"" &lt;<a ymailto="mailto:info@callcentres.net" href="/mc/compose?to=info@callcentres.net">info@callcentres.net</a>&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; Anyone seen this?<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; Thanks<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Well, can you tell us a little bit more on your<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;configuration? What<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;protocol do you use on the source side? Do you happen<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;to use the new<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;RFC5424 style protocol, or
 the legacy one?<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;What is generating those messages, can you show us a<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;tcpdump/strace<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;snippet that shows how that frame is travelling the<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;network?<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Also, syslog-ng 3.0 does not remove embedded NL<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;characters by default,<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;maybe the rest of the message continues on the next<br>&gt;&nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;line?<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;You can reenable the previous behaviour by using the<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;'no-multi-line'<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;flag for your source or destination (e.g. you can<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;change the multi-line<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;handling not just for a given source, but also handle<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;the same message<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;differently in different destinations).<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;-- <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Bazsi<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;______________________________________________________________________________<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Member info:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Documentation:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<a
 href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;______________________________________________________________<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Looking for the perfect gift? Give the gift of Flickr!<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;-----Inline Attachment Follows-----<br>&gt;&nbsp; &nbsp; &nbsp;
 &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;______________________________________________________________________________<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Member info:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Documentation:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt; <br>&gt; <br>&gt;
 ______________________________________________________________________<br>&gt; Looking for the perfect gift? Give the gift of Flickr!<br>&gt; ______________________________________________________________________________<br>&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>&gt; 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>&gt; FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>&gt; <br>-- <br>Key fingerprint = F78C 25CA 5F88 6FAF EA21 779D 3279 9F9E 1155 670D<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></div></blockquote></td></tr></table><br>
      <hr size=1>
Looking for the perfect gift?<a href="http://www.flickr.com/gift/"><b> Give the gift of Flickr!</b></a>