Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monolog handler does not report $record['context'] other than $record['context']['exception'] #1179

Closed
bits4breakfast opened this issue Jan 27, 2021 · 2 comments

Comments

@bits4breakfast
Copy link

👋 - I've just (finally) upgraded the SDK to the latest version straight from the legacy one (1.8) and to my surprise the Monolog handler does not copy anything from the $record context other than the exception - everything else is discarded. I don't know if this is a known issue/conscious choice but I couldn't find any context (no pun intended) around that. I can eventually make changes myself however I wanted to make sure this was not something removed in the past.

Cheers

@Jean85
Copy link
Collaborator

Jean85 commented Jan 27, 2021

Yes this was intentional. See discussions in #848 for explanations.

@Jean85 Jean85 closed this as completed Jan 27, 2021
@bits4breakfast
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants