This method of getting the logs out of apache is much faster than using logger, while this was not the problem causing syslog to hang I really appreciate your reply. My system is running much faster now. Thanks, Jason ----- Original Message ----- From: "Dave Johnson" <davejjohnson@gmail.com> To: <syslog-ng@lists.balabit.hu> Sent: Wednesday, March 30, 2005 10:15 PM Subject: Re: [syslog-ng]Apache to syslog-ng
Jason-- 1] man mkfifo 2] mkfifo /var/log/apache.pipe 3] chmod/chown /var/log/apache.pipe 4] setup httpd.conf to log to /var/log/apache.pipe 5] setup source in syslog-ng: source apache { pipe ("/var/log/apache.pipe"); }
On Wed, 30 Mar 2005 21:55:28 -0600, Jason Stafford <jason@dpcomm.net> wrote:
Howdy,
Would someone please shed some light on the correct way to get logs out
of
apache and into syslog-ng without causing the apache to crash? I'm currently using custom log and sending that via a pipe to logger. Howerver for some reason apache will just stop responding and stop handling requests. To fix this i just restart syslog-ng and it starts working. I posted earlier with my config and someone recommend that i send it all via udp to a central server cause this might be related to the pipe. I have since done this and i did not fix the problem. What i really need is a way to get the logs out of apache wihtout using logger?
Thanks,
Jason
syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html