mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #1086] LineFormatter does not include stacktraces for "previous" exceptions #439
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#439
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 @mpdude on GitHub (Nov 24, 2017).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1086
I am using the
LineFormatterto log exceptions with stack traces.However,
previousexceptions are only logged with their class name, file, code and message, but no stack trace included. In many cases I have seen the stack trace of the "root" exception would be the interesting information I'd need.So, short question: Would you support/merge a (probably trivial) PR to include stacktraces for all
previousexceptions as well?Should this be changed in
LineFormatteronly, or are there any other/better places?@Seldaek commented on GitHub (Jun 9, 2018):
LineFormatter is the only one with this issue it seems. So yes it's the only place to patch IMO. Feel free to send a PR targetting master branch, I think this is a bit too invasive to the log format to include in 1.x
@mpdude commented on GitHub (Jun 18, 2018):
See #1170.