From 13381fb829e3928cead852d20f6e1482ffc1acf6 Mon Sep 17 00:00:00 2001 From: Unrud Date: Wed, 7 Jun 2017 14:15:30 +0200 Subject: [PATCH] Change logging level of invalid sync token to warning Some clients stop to work, when told their sync-token are invalid. --- radicale/xmlutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index b48dfbd..68603b9 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -1039,8 +1039,8 @@ def report(base_prefix, path, xml_request, collection): sync_token, names = collection.sync(old_sync_token) except ValueError as e: # Invalid sync token - collection.logger.info("Client provided invalid sync token %r: %s", - old_sync_token, e, exc_info=True) + collection.logger.warning("Client provided invalid sync token %r: " + "%s", old_sync_token, e, exc_info=True) return client.PRECONDITION_FAILED, None hreferences = ("/" + posixpath.join(collection.path, n) for n in names) # Append current sync token to response