9 Feb
2010
9 Feb
'10
8:33 p.m.
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