diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-11-29 14:29:35 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-11-29 14:29:35 +0100 |
commit | 311b3ffa2e8966df883d738f2a741f139ed914da (patch) | |
tree | b7869ce853b7799713a4041934d7d37fd07cdf48 /apps/files/src | |
parent | 541751d42a27b2bd0b126d6366e444829ff59cf7 (diff) | |
download | nextcloud-server-311b3ffa2e8966df883d738f2a741f139ed914da.tar.gz nextcloud-server-311b3ffa2e8966df883d738f2a741f139ed914da.zip |
Interpolate the log message also for logged exceptions
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 <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files/src')
0 files changed, 0 insertions, 0 deletions