diff options
author | Joas Schilling <coding@schilljs.com> | 2025-01-03 10:04:51 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2025-01-03 10:04:51 +0100 |
commit | 63f3309993772d40fd2da1b2d8f5040c5586e967 (patch) | |
tree | bd3d7cba41a772aed9d1808f5c8486f97ae75647 /.github/pull_request_template.md | |
parent | 9e18d3402c1ab63266413eda9cedc0e43cb6fa5a (diff) | |
download | nextcloud-server-bugfix/noid/prevent-infitnite-loop.tar.gz nextcloud-server-bugfix/noid/prevent-infitnite-loop.zip |
fix(logger): Prevent infinite recursion with log.condition => matchesbugfix/noid/prevent-infitnite-loop
When we need to check the log condition for a user matches,
there is a risk that something on the way checks the log level
and would result in an infinite loop.
So we simply check if it's a nested call and use the default
warning level in that case.
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github/pull_request_template.md')
0 files changed, 0 insertions, 0 deletions