From a54fb10e17b39508f3af0e4902d145d30902b802 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Tue, 3 Dec 2024 21:19:12 +0100 Subject: [PATCH] Fix: debug logging in rights/from_file --- CHANGELOG.md | 3 +++ radicale/rights/from_file.py | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b1d5389..75298767 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 3.3.2.dev +* Fix: debug logging in rights/from_file + ## 3.3.1 * Add: option [auth] type=dovecot diff --git a/radicale/rights/from_file.py b/radicale/rights/from_file.py index 20928a64..aaec8307 100644 --- a/radicale/rights/from_file.py +++ b/radicale/rights/from_file.py @@ -99,12 +99,9 @@ class Rights(rights.BaseRights): user, sane_path, user_pattern, collection_pattern, section, permission) return permission - logger.debug("Rule %r:%r doesn't match %r:%r from section %r", - user, sane_path, user_pattern, collection_pattern, - section) if self._log_rights_rule_doesnt_match_on_debug: logger.debug("Rule %r:%r doesn't match %r:%r from section %r", user, sane_path, user_pattern, collection_pattern, section) - logger.info("Rights: %r:%r doesn't match any section", user, sane_path) + logger.debug("Rights: %r:%r doesn't match any section", user, sane_path) return ""