From 62e6aad2d2737b8c14efde89723beca15dc465ee Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 24 Nov 2024 18:30:59 +0100 Subject: [PATCH] align logging of path --- radicale/app/put.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/app/put.py b/radicale/app/put.py index 710e4435..fc40f7b4 100644 --- a/radicale/app/put.py +++ b/radicale/app/put.py @@ -179,11 +179,11 @@ def do_PUT(self, environ: types.WSGIEnviron, base_prefix: str, return httputils.NOT_ALLOWED if not self._permit_overwrite_collection: if ("O") not in access.permissions: - logger.info("overwrite of collection is prevented by config/option [rights] permit_overwrite_collection and not explicit allowed by permssion 'O': %s", path) + logger.info("overwrite of collection is prevented by config/option [rights] permit_overwrite_collection and not explicit allowed by permssion 'O': %r", path) return httputils.NOT_ALLOWED else: if ("o") in access.permissions: - logger.info("overwrite of collection is allowed by config/option [rights] permit_overwrite_collection but explicit forbidden by permission 'o': %s", path) + logger.info("overwrite of collection is allowed by config/option [rights] permit_overwrite_collection but explicit forbidden by permission 'o': %r", path) return httputils.NOT_ALLOWED elif "w" not in access.parent_permissions: return httputils.NOT_ALLOWED