sharing: adjust loglevel or add forgotten log

This commit is contained in:
Peter Bieringer
2026-04-21 18:55:14 +02:00
parent 53d5a89165
commit eecfdcaf69
3 changed files with 14 additions and 8 deletions

View File

@@ -614,9 +614,9 @@ class Application(ApplicationPartDelete, ApplicationPartHead,
if (status, headers, answer, xml_request) == httputils.NOT_ALLOWED:
if path.startswith("/.token"):
logger.info("Access to %r denied", path)
logger.notice("Access to %r denied", path)
else:
logger.info("Access to %r denied for %s", path, repr(user) if user else "anonymous user")
logger.notice("Access to %r denied for %s", path, repr(user) if user else "anonymous user")
else:
status, headers, answer, xml_request = httputils.NOT_ALLOWED