mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #1989] StreamHandler choking on php://stderr #855
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#855
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jdwx on GitHub (Sep 17, 2025).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1989
Monolog version 1|2|3? 3.9.0
Recently we've started getting this
From this handler:
I'm a little baffled as to how that could happen. The stderr output is not closed; I have this information because our emergency backup exception handler is logging it there after this happens.
The environment is php-fpm.
Since I don't understand how this could happen, I'm not sure how to try to debug this. I'm not sure if this is a Monolog bug, or how it could be, but since stderr remains available in the process, just not to Monolog, I would really appreciate any possible insight into what might be going on.
This started happening rather suddenly about a week ago without any changes to the environment, and, worst of all, it is intermittent.
@IanAtOcucom commented on GitHub (Oct 23, 2025):
I am also seeing this error from time to time using apache mod_fcgid and PHP 8.3.
It seems to be related to stale PHP Sessions[?]
@Seldaek commented on GitHub (Oct 23, 2025):
See #1860 and #1634 - this happens sometimes and there are many theories as to why but nobody has come up with anything conclusive yet sorry