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
@ChristophWurst ChristophWurst merged commit 7b142f7 into stable23 Nov 29, 2021
@ChristophWurst ChristophWurst deleted the backport/29951/stable23 branch November 29, 2021 19:04
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2022
6 tasks
@skjnldsv skjnldsv mentioned this pull request Jan 20, 2022
6 tasks
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