Required entries in Apache configuration to forward Apache logs to the local Syslog.
ErrorLog settings:
Code Block |
---|
ErrorLog "|/bin/sh -c '/usr/bin/tee -a /var/log/httpd/error_log' | /bin/sh -c '/usr/bin/logger -thttpd -plocal4.err'" |
...
ErrorLog settings:
Code Block |
---|
ErrorLog "|/bin/sh -c '/usr/bin/tee -a /var/log/httpd/error_log' | /bin/sh -c '/usr/bin/logger -thttpd -plocal4.err'" |
...