[syslog-ng] Apache + syslog-ng w/o logger?

Sergei Zhirikov sfzhi at yahoo.com
Tue Feb 9 21:33:18 CET 2010


I have replaced access_log with a pipe (using mkfifo), so that apache can write and syslog-ng can read it. I haven't tested it with big log entries though.

Brian Donaldson 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



More information about the syslog-ng mailing list