It does however allow access logs to be written to a pipe and I have seen a number of home-brew scripts that essentially redirect the Apache access log data from STDIN to syslog.
I've yet to see anything quite as simple as the following directive that I cooked up today:
CustomLog "|/usr/bin/logger -t apache -i -p local6.notice" combined
It pipes the access log data to the BSD logger(1) utility that is installed by default on almost any Unix system. No need for any more of those STDIN wrapper scripts!
1 comments:
that was VERY helpful! Thanks! Simple and elegant. Works great!
Post a Comment