Hello all.
I have an apache 2 webserver running on RHEL4. I'd like to log to both my syslog server AND the local error log. My results though have been mixed and I'm wondering if anyone else has this problem or has worked around it.
When I use the following directives in the following order, the syslog server receives error log entries just fine, but the local file isn't written to.
Code:
ErrorLog /logs/apache/error_log
ErrorLog syslog:local5
When I switch them around, it works, but not fully. Error and Notice level entries go to the local file, while Warn level entries go to the syslog server.
Can anyone shed some light on why the output seems to be split between the destinations instead of being sent to both?
Thanks,
Dan