Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Logger: fatal error shutdown #51

Open
@GeeH

Description

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


Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions