Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #29951

According to PSR-3 the log message can have placeholders that are
replaced from the context object. Our logger implementation did that for
all PSR-3 logger methods. The only exception was our custom `logException`.

Since PsrLoggerAdapter calls logException when an exception key is
present in the context object, log messages were no longer interpolated.

Signed-off-by: Christoph Wurst <[email protected]>
@nickvergessen nickvergessen added the 4. to release Ready to be released and/or waiting for tests to finish label Nov 29, 2021
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2022
9 tasks
@skjnldsv skjnldsv merged commit 6117316 into stable22 Jan 7, 2022
@skjnldsv skjnldsv deleted the backport/29951/stable22 branch January 7, 2022 07:42
This was referenced Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants