这个问题是关于HTTPD(Apache)2的.在centOS和modperl 1.7
当我使用apache指令ErrorLog logs / error_log时,我的perl警告显示在error_log文件中.当我将其更改为ErrorLog syslog:local1时,syslog目标中不会显示perl警告.我的问题是,我该如何解决这个问题?
(syslog读取:local1.* / var / log / httpd_error)
目前的Apache文档说这个
@H_301_17@A very wide variety of different
messages can appear in the error log.
Most look similar to the example
above. The error log will also contain
debugging output from CGI scripts. Any
information written to stderr by a CGI
script will be copied directly to the
error log.
旧的Apache(1.3)文档谈论了一个名为HookStderr和stderr被发送到/ dev / null的东西.我尝试使用这个,configtest失败了.
有没有人这样做过?