{ "url": "https://api.github.com/repos/zendframework/zendframework/issues/7518", "repository_url": "https://api.github.com/repos/zendframework/zendframework", "labels_url": "https://api.github.com/repos/zendframework/zendframework/issues/7518/labels{/name}", "comments_url": "https://api.github.com/repos/zendframework/zendframework/issues/7518/comments", "events_url": "https://api.github.com/repos/zendframework/zendframework/issues/7518/events", "html_url": "https://github.com/zendframework/zendframework/issues/7518", "id": 75909955, "node_id": "MDU6SXNzdWU3NTkwOTk1NQ==", "number": 7518, "title": "Logger: fatal error shutdown", "user": { "login": "ThaDafinser", "id": 533017, "node_id": "MDQ6VXNlcjUzMzAxNw==", "avatar_url": "https://avatars.githubusercontent.com/u/533017?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ThaDafinser", "html_url": "https://github.com/ThaDafinser", "followers_url": "https://api.github.com/users/ThaDafinser/followers", "following_url": "https://api.github.com/users/ThaDafinser/following{/other_user}", "gists_url": "https://api.github.com/users/ThaDafinser/gists{/gist_id}", "starred_url": "https://api.github.com/users/ThaDafinser/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThaDafinser/subscriptions", "organizations_url": "https://api.github.com/users/ThaDafinser/orgs", "repos_url": "https://api.github.com/users/ThaDafinser/repos", "events_url": "https://api.github.com/users/ThaDafinser/events{/privacy}", "received_events_url": "https://api.github.com/users/ThaDafinser/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 15120295, "node_id": "MDU6TGFiZWwxNTEyMDI5NQ==", "url": "https://api.github.com/repos/zendframework/zendframework/labels/Log", "name": "Log", "color": "008000", "default": false, "description": null } ], "state": "closed", "locked": true, "assignee": null, "assignees": [ ], "milestone": null, "comments": 1, "created_at": "2015-05-13T09:08:48Z", "updated_at": "2016-06-28T13:06:18Z", "closed_at": "2016-06-28T13:06:18Z", "author_association": "CONTRIBUTOR", "sub_issues_summary": { "total": 0, "completed": 0, "percent_completed": 0 }, "active_lock_reason": null, "body": "If a fatal error comes up, the `register_shutdown_function` is called like wanted here:\nhttps://github.com/zendframework/zf2/blob/master/library/Zend/Log/Logger.php#L617-L643\n\nBut the writers `$writer->shutdown()` function never gets called, so e.g. an eMail wont be send.\nhttps://github.com/zendframework/zf2/blob/master/library/Zend/Log/Writer/Mail.php#L173\n", "closed_by": { "login": "GeeH", "id": 613376, "node_id": "MDQ6VXNlcjYxMzM3Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/613376?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GeeH", "html_url": "https://github.com/GeeH", "followers_url": "https://api.github.com/users/GeeH/followers", "following_url": "https://api.github.com/users/GeeH/following{/other_user}", "gists_url": "https://api.github.com/users/GeeH/gists{/gist_id}", "starred_url": "https://api.github.com/users/GeeH/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GeeH/subscriptions", "organizations_url": "https://api.github.com/users/GeeH/orgs", "repos_url": "https://api.github.com/users/GeeH/repos", "events_url": "https://api.github.com/users/GeeH/events{/privacy}", "received_events_url": "https://api.github.com/users/GeeH/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "reactions": { "url": "https://api.github.com/repos/zendframework/zendframework/issues/7518/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/zendframework/zendframework/issues/7518/timeline", "performed_via_github_app": null, "state_reason": "completed" }