Sample Apache error syslog captures stderr
authorBill Erickson <berick@esilibrary.com>
Wed, 10 Oct 2012 21:26:06 +0000 (17:26 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 24 Oct 2012 04:11:51 +0000 (00:11 -0400)
Not all STDERR output and not all $req->log->foo() output makes it to
the Apache error log when using the 'ErrorLog syslog:local7'
configuration directive.  This changes the sample config to match the
CustomLog config so that all output is captured and redirected to
syslog.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/examples/apache/eg.conf

index 280cea6..a0b2784 100644 (file)
@@ -6,7 +6,7 @@ CustomLog /var/log/apache2/access.log combined
 ErrorLog /var/log/apache2/error.log
 # - log to syslog 
 # CustomLog "|/usr/bin/logger -p local7.info" common
-# ErrorLog syslog:local7
+# ErrorLog  "|logger -p local7.error"
 
 
 # ----------------------------------------------------------------------------------