[geary/wip/713530-background-sync: 8/9] Add some debugging so we know when a background sync has completed.



commit 63ff253d2659af3b5f90c577178b447f0e029937
Author: Michael James Gratton <mike vee net>
Date:   Fri Dec 1 13:19:48 2017 +1100

    Add some debugging so we know when a background sync has completed.

 .../imap-engine-account-synchronizer.vala          |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/engine/imap-engine/imap-engine-account-synchronizer.vala 
b/src/engine/imap-engine/imap-engine-account-synchronizer.vala
index 8b493b3..1269e33 100644
--- a/src/engine/imap-engine/imap-engine-account-synchronizer.vala
+++ b/src/engine/imap-engine/imap-engine-account-synchronizer.vala
@@ -354,6 +354,10 @@ private class Geary.ImapEngine.AccountSynchronizer : Geary.BaseObject {
                 }
             }
         }
+        Logging.debug(
+            Logging.Flag.PERIODIC, "Background sync of %s completed",
+            folder.to_string()
+        );
     }
 
     private async void sync_folder_async(MinimalFolder folder,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]