[syslog-ng] Apache + syslog-ng w/o logger?
Lance Laursen
lance at demonware.net
Fri Feb 5 02:28:03 CET 2010
Hello,
After changing the log_msg_size(65536); parameter in syslog-ng.conf's
options {}; section, I've used logger to send a single message with a 64KB
payload. Have you tried using logger yet to see if it does what you need?
I've just tested this on ubuntu 8.04, the logger binary being part of the
default installed bsdutils package 1:2.14.2-1ubuntu4. Keep in mind regular
syslogd has a 1024KB limit and all messages passed through it first will get
chopped.
You can also do what Jim suggests and use a "file" sourcetype on your
access_log and go from there.
-Lance
On Thu, Feb 4, 2010 at 5:00 PM, Brian Donaldson <briantd at gmail.com> wrote:
> My goal is to enable Apache to log large access_log entries (> 1024 chars)
> to a syslog-ng server. The vast majority of examples I've seen for
> connecting Apache to syslog-ng employ the ancient /usr/bin/logger -- but
> that approach chops up messages longer than 1024 chars. The alternative
> approach is to use a perl/python script, but I'm nervous about the overhead.
> Anyone know of an updated logger binary?
>
> Thanks for any pointers,
> -Brian
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
> ______________________________________________________________________________
> 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/20100204/aa1c1901/attachment.htm
More information about the syslog-ng
mailing list