From bc0b74c55520133e8cd61394ae2d0dd7b182345e Mon Sep 17 00:00:00 2001 From: Matthias Jordan Date: Sat, 11 Aug 2012 00:57:15 +0200 Subject: [PATCH] Using collection's URL for logging instead of its name --- radicale/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index 060f04fd..209861ba 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -225,12 +225,12 @@ class Application(object): if rights.read_authorized(user, item) or \ rights.write_authorized(user, item): log.LOGGER.info("%s has access to collection %s" % ( - user, item.name or "/")) + user, item.url or "/")) last_collection_allowed = True allowed_items.append(item) else: log.LOGGER.info("%s has NO access to collection %s" % ( - user, item.name or "/")) + user, item.url or "/")) last_collection_allowed = False else: # item is not a collection, it's the child of the last