You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Degenhardt <bm...@mp3.com> on 2002/10/16 00:20:26 UTC
piped error logs and SIGKILL
Try this in your config file:
ErrorLog "|/usr/bin/tee /usr/local/apache/logs/error_log"
CustomLog /bad/path/foo/bar/foo_log common
This results in a silent death of apache because when it can't open
the log file, it writes the error to the error log, and then
immediately kill -9's the piped process. The process doesn't get a
chance to read the log line so nothing lands in the logs.
Perhaps it can give the process a chance to finish writing before
killing it.
-bmd