Feature #9861
Leave logging up and running as long as possible
Status: | Needs Feedback | Start date: | ||
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Log | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No |
Description
Currently the shutdown phase can/does shut down logging before the request run ends, thus leaving some messages out of the log.
Associated revisions
[~TASK] FLOW3 (Log): The file backend no longer closes the log
For this backend we do nothing in cloe() anymore and rely on PHP to
close the filehandle when the request ends. This is to allow full
logging until request end.
Revise upon resolution of #9861
Relates to: #9861
Change-Id: Id4dc86c042132d6bbde5089f6e5c81e658b47961
History
#1 Updated by Christian Müller over 3 years ago
- Status changed from New to Needs Feedback
- Has patch set to No
Actually the logging is not shutdown at all atm. Maybe we could shut it down after the BootstrapShuttingDown Signal?
#2 Updated by Karsten Dambekalns over 3 years ago
Christian Mueller wrote:
Actually the logging is not shutdown at all atm. Maybe we could shut it down after the BootstrapShuttingDown Signal?
Shutting down logging after that signal has been dispatched (but not using that signal) should indeed work.