[syslog-ng] Help with long log messages

Balazs Scheidler bazsi77 at gmail.com
Mon Feb 3 19:51:29 CET 2014


Hmmm. You can increase log log-msg-size, 8192 is only the default. It has
no hardcoded limit, but its not practical to increase it over 64k
On Jan 29, 2014 11:44 PM, "Edward Gleeck" <edrebg at gmail.com> wrote:

> Syslog-ng seems to only allow up to 8192 bytes of log_msg_size and after
> which it splits up the log message into multiple log messages. Setting this
> up in the global options or on the source option to use more than 8192 does
> not seem to work. I was wondering if there are other options that I need to
> put in order that very long logs aren't split up. I realize this might be a
> very rare case on the need for long log messages, but the application
> logging was designed poorly and we need this functionality currently while
> the logging is being fixed.
>
> In looking at the source code, it seems that the log_msg_size is stored as
> a gint type, which in my recollection allows me to store up to +32787 right?
>
> If the max I could put is 8192, then I guess I'll have to come up with
> something else to process the split logs, otherwise any help would be
> appreciated.
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140203/2b0b9675/attachment.htm 


More information about the syslog-ng mailing list