-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix logging data context to file #32242
Conversation
adef8fb
to
67ad2cf
Compare
67ad2cf
to
613f608
Compare
It was only logged when an exception was provided or when using logData (which is not being much used). We make sure the interpolated parameters are not logged. Only tested with file write logger, but shouldn't work differently. Crash reporters always had the context. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
613f608
to
1e7d924
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
Backports ? |
imo it's rather an enhancement than a fix? |
It was the behaviour before the switch to PSR's LoggerInterface IIRC, far from being important anyway indeed. |
didn't recall. Nothing older than yesterday's release 🤷 Well, then it is a regression indeed, and backporting would be legit. |
/backport to stable24 |
/backport to stable23 |
/backport to stable22 |
It was only logged when an exception was provided or when using
logData
(which is not being much used btw).We make sure only the parameters that weren't interpolated are logged.
Only tested with file write logger, but other writers shouldn't work differently.
Crash reporters always had the context.