You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Ivan Habunek (Commented) (JIRA)" <ji...@apache.org> on 2011/10/17 18:36:10 UTC

[jira] [Commented] (LOG4PHP-159) LoggerAppenderMail doesn't send out messages if script dies

    [ https://issues.apache.org/jira/browse/LOG4PHP-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128987#comment-13128987 ] 

Ivan Habunek commented on LOG4PHP-159:
--------------------------------------

Hm, not a bad idea. Maybe it can be applied on the parent LoggerAppender class so it works with all appenders... I will look into it.
                
> 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