[
https://issues.apache.org/jira/browse/LOG4PHP-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Habunek resolved LOG4PHP-159.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.2
Assignee: Ivan Habunek
It's done. I have implemented your fix in the LoggerAppender constructor so it
will be applied to all appenders. Also removed the destructor so that close()
is not called twice.
> Appenders do not close gracefully if a fatal error occurs
> ---------------------------------------------------------
>
> Key: LOG4PHP-159
> URL: https://issues.apache.org/jira/browse/LOG4PHP-159
> Project: Log4php
> Issue Type: Bug
> Reporter: Justin Cherniak
> Assignee: Ivan Habunek
> Fix For: 2.2
>
> Attachments: LOG4PHP-159.patch
>
>
> LoggerAppenderMail doesn't send out messages if script dies
> Due to the way it buffers messages until the end of the script, if the PHP
> script unexpectedly dies, the buffered messages are not sent out since
> destructors are not called when E_FATAL errors occur.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira