0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-13 10:02:35 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Joas Schilling
63f3309993
fix(logger): Prevent infinite recursion with log.condition => matches
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>
2025-01-03 10:04:51 +01:00