You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/04/25 16:48:51 UTC
[Bug 59374] New: "AH00169 ... shutting down" : not caught using
ErrorLog program
https://bz.apache.org/bugzilla/show_bug.cgi?id=59374
Bug ID: 59374
Summary: "AH00169 ... shutting down" : not caught using
ErrorLog program
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: ben.rubson@gmail.com
Hello,
Using the following configuration :
ErrorLog "| /usr/bin/logger -t httpd"
LogLevel notice
The following shutting down message never appears into the logs :
Apr 25 16:38:00 srv httpd[98967]: [mpm_prefork:notice] [pid 98967] AH00169:
caught SIGTERM, shutting down
If we use a ErrorLog file, or ErrorLog syslog, this message correctly appears
into the log.
Is ErrorLog program killed before the last log messages ?
Thank you,
Best regards,
Ben
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 59374] "AH00169 ... shutting down" : not caught using ErrorLog program
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59374
Rich Bowen <rb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #3 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 59374] "AH00169 ... shutting down" : not caught using ErrorLog
program
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59374
Ben RUBSON <be...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|PatchAvailable |
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 59374] "AH00169 ... shutting down" : not caught using ErrorLog
program
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59374
--- Comment #1 from Eric Covener <co...@gmail.com> ---
In 2.4, piped loggers see a sigterm early during shutdown compared to 2.2.
To get the 2.2 behavior, where /bin/sh usually ate the sigterm, use |$ as the
first two characters instead of just |
There is currently a design problem around the stopping/restarting of piped
loggers that currently errs on the side of losing some messages at shutdown.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 59374] "AH00169 ... shutting down" : not caught using ErrorLog
program
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59374
Ben RUBSON <be...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 59374] "AH00169 ... shutting down" : not caught using ErrorLog
program
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59374
--- Comment #2 from Ben RUBSON <be...@gmail.com> ---
Eric,
Thank you for your answer.
I then tested the following with Apache 2.4 :
ErrorLog "|$ /usr/bin/logger -t httpd"
But it did not help.
I also tested, with no luck :
ErrorLog "| /bin/sh -c \'/usr/bin/logger -t httpd\'"
ErrorLog "|$ /bin/sh -c \'/usr/bin/logger -t httpd\'"
Strangely with these 2 tests (as well as with the first one), /bin/sh does not
appear in my processes list.
Note that with Apache 2.2 I get the same behavior, last messages are lost.
Would it be hard to solve this design problem around the stopping of piped
loggers ?
Many thanks,
Ben
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org