Just more ramblings of another IT Guy

Output Apache access_log via syslog

While I have not had the opportunity to test this yet Terry Burton of http://blog.terryburton.co.uk has a very simple solution to the issue of getting the Apache access_logs to be set via syslog. By default Apache only seems to support sending the Error_Log using Syslog.

The following line can be added to the Apache conf file

CustomLog “|/usr/bin/logger -t apache -i -p local6.notice” combined

(The syslog conf file will also be required to be updated accordingly)

Please find Terry’s post site here

This entry was posted in Handy Linux Commands, Tips+Tricks. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *