laminas / laminas-log

Robust, composite logger with filtering, formatting, and PSR-3 support
https://docs.laminas.dev/laminas-log/
BSD 3-Clause "New" or "Revised" License
26 stars 30 forks source link

Logger: fatal error shutdown #4

Closed weierophinney closed 3 years ago

weierophinney commented 4 years ago

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7518 User: @ThaDafinser Created On: 2015-05-13T09:08:48Z Updated At: 2015-11-06T21:39:31Z Body If a fatal error comes up, the register_shutdown_function is called like wanted here: https://github.com/zendframework/zf2/blob/master/library/Zend/Log/Logger.php#L617-L643

But the writers $writer->shutdown() function never gets called, so e.g. an eMail wont be send. https://github.com/zendframework/zf2/blob/master/library/Zend/Log/Writer/Mail.php#L173



Originally posted by @GeeH at https://github.com/zendframework/zend-log/issues/51

weierophinney commented 3 years ago

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself

If you are looking for an actively maintained package alternative, we recommend: