mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Include path in access denied log message
This commit is contained in:
parent
070a39a51d
commit
9ce8e9d94d
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ class Application:
|
||||||
except socket.timeout:
|
except socket.timeout:
|
||||||
return response(*REQUEST_TIMEOUT)
|
return response(*REQUEST_TIMEOUT)
|
||||||
if (status, headers, answer) == NOT_ALLOWED:
|
if (status, headers, answer) == NOT_ALLOWED:
|
||||||
self.logger.info("Access denied for %s",
|
self.logger.info("Access to %r denied for %s", path,
|
||||||
"%r" % user if user else "anonymous user")
|
"%r" % user if user else "anonymous user")
|
||||||
else:
|
else:
|
||||||
status, headers, answer = NOT_ALLOWED
|
status, headers, answer = NOT_ALLOWED
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue