This question is about HTTPD (Apache) 2.? on centOS and modperl 1.7+
When I use the ErrorLog directive logLog / error_log, my perl warnings are displayed in the error_log file. When I change this to ErrorLog syslog: local1, no perl warnings are displayed in the target syslog file. My question is: how do I fix this?
(syslog reads: local1. * / var / log / httpd_error)
Current Apache docs talk about it
A very large variety of different messages can appear in the error log. Most look similar to the example above. The error log will also contain debug output from CGI scripts. Any information recorded in the stderr CGI script will be copied directly to the error log.
Old Apache (1.3) docs say that HookStderr and stderr are sent to / dev / null. I tried using this and configuretest fails.
Has anyone done this?
source share