From 4c0a286b5fa1a40bf49b2d90c7ac717f39d78729 Mon Sep 17 00:00:00 2001 From: kevforget <74352754+kevforget@users.noreply.github.com> Date: Tue, 25 Oct 2022 15:23:24 +0200 Subject: [PATCH] Added logs when an activity list is about to be download (#215) --- tapiriik/sync/sync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tapiriik/sync/sync.py b/tapiriik/sync/sync.py index 2c1b9645..a446ef1e 100644 --- a/tapiriik/sync/sync.py +++ b/tapiriik/sync/sync.py @@ -1038,6 +1038,9 @@ def Run(self, exhaustive=False, null_next_sync_on_unlock=False, heartbeat_callba for conn in sorted(self._serviceConnections, key=lambda x: x.Service.SupportsExhaustiveListing, reverse=True): + + self._global_logger.info(f"[SYNC PROCESS] Ready to get the list of activities to sync for hub user Id {self.user['_id']} from partner {conn.Service.ID}") + # If we're not going to be doing anything anyways, stop now if len(self._serviceConnections) - len(self._excludedServices) <= 1: raise SynchronizationCompleteException()