[rsyslog] Apache error logs problem
John Feuerstein
john at feurix.com
Mon Nov 14 12:11:35 CET 2011
On 11/09/2011 02:04 PM, Giacomo Bandoni wrote:
> Is there a way for Rsyslog remote logging to coexist with local Apache
> error log?
>
> I'm using the following lines on httpd.conf, but I'm getting either
> remote or local depending on which line I put as 1st one:
>
> ErrorLog "|/usr/bin/logger -t httpd_error -p local6.err"
> ErrorLog logs/error_log
Apache can log to syslog directly:
http://httpd.apache.org/docs/2.2/mod/core.html#errorlog
ErrorLog syslog:local6
The final location (remote or local) depends entirely on your syslogd
configuration.
More information about the rsyslog
mailing list