[syslog-ng] Extra Lines Truncated

Ian Lesperance ianl at ezpublishing.com
Thu Dec 2 01:42:46 CET 2010


It happens even with "foo\nbar".  "foo" is written but "bar" is nowhere to
be found.

Not sure if it's relevant, but carriage returns pass through unaltered.

Ian


On Wed, Dec 1, 2010 at 2:15 PM, Bill Anderson <
Bill.Anderson at bodybuilding.com> wrote:

> If your lines are long, you might be running up against the line length
> limit. You might do something like the following in options:
>
> # maximum length of message in bytes
> # this is only limited by the program listening on the /dev/log Unix
> # socket, glibc can handle arbitrary length log messages, but -- for
> # example -- syslogd accepts only 1024 bytes
> # (default is 2048)
> log_msg_size(8192);
>
> And see if that helps.
>
>
>
> ________________________________________
> From: syslog-ng-bounces at lists.balabit.hu [
> syslog-ng-bounces at lists.balabit.hu] On Behalf Of Ian Lesperance [
> ianl at ezpublishing.com]
> Sent: Wednesday, December 01, 2010 2:28 PM
> To: Syslog-ng users' and developers' mailing list
> Subject: Re: [syslog-ng] Extra Lines Truncated
>
> 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.
>
> 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.
>
> Ian
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20101201/04388c7c/attachment.htm 


More information about the syslog-ng mailing list