[ 
https://issues.apache.org/jira/browse/LOG4PHP-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Cherniak updated LOG4PHP-159:
------------------------------------

    Attachment: LOG4PHP-159.patch

Proposed patch for the issue.  Calling register_shutdown_function ensures that 
the appender is closed, even if an E_FATAL error occurs.
                
> LoggerAppenderMail doesn't send out messages if script dies
> -----------------------------------------------------------
>
>                 Key: LOG4PHP-159
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-159
>             Project: Log4php
>          Issue Type: Bug
>            Reporter: Justin Cherniak
>         Attachments: LOG4PHP-159.patch
>
>
> 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

        

Reply via email to