httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Degenhardt <...@mp3.com>
Subject piped error logs and SIGKILL
Date Tue, 15 Oct 2002 22:20:26 GMT
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

Mime
View raw message