mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #1943] BufferHandler to allow change of wrapped handler in runtime #837
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#837
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 @A-Shevchenko on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1943
Hello,
it would be really good to allow change of wrapped handler by BufferHandler after it's instantiation.
Our use case - we want to buffer logs until execution end, however in some cases we want to change underlying handler based on some conditions in application logic and do not lose what was logged so far.
@Seldaek commented on GitHub (Mar 15, 2025):
Fixed by #1946