[syslog-ng] syslog-ng large NVTable patch
Peter Eisenlohr
peter.eisenlohr at inform-software.com
Tue Jan 10 13:14:22 CET 2012
Hi,
as requested by bazsi in the forums
http://www.syslog.org/forum/index.php?topic=1218.0
here's a patch against syslog-ng enabling it to handle log messages
larger than the current 256k limit. This is done by extending NVTable's
data structures from 16 to 32 bit. The patch also contains simple code
for automatic resizing of the receive buffer. 'log_msg_size' is still
honoured, though.
I have been using this to regularly receive multi-MB XML messages and
process them into log files.
I developed the patch against 3.3.1, but also tested it with 3.3.3 and
on x64 as well. 'make check' runs fine, too -- but still, use at your
own risk.
Peter
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: syslog-ng-3.3.1-large-nvtable.patch
Url: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20120110/b9662c08/attachment-0001.txt
More information about the syslog-ng
mailing list