From 0fbf31e7c4b46c85bd6cd76e29b2e9f566055798 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 31 Oct 2021 12:21:26 +0100 Subject: [PATCH] Improved debug info --- .../main/java/eu/faircode/email/ServiceSynchronize.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 1983fc154e..80d1360b5d 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1802,7 +1802,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences } final EntityFolder folder = found; - Log.i(folder.name + " queuing operations=" + added.size() + + Log.i(account.name + "/" + folder.name + " queuing operations=" + added.size() + " init=" + folder.initialize + " poll=" + folder.poll); // Partition operations by priority @@ -1840,7 +1840,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences int ops; synchronized (partitions) { ops = partitions.get(key).size(); - Log.i(folder.name + + Log.i(account.name + "/" + folder.name + " queuing partition=" + key + " operations=" + ops); } @@ -1868,7 +1868,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences partitions.remove(key); } - Log.i(folder.name + + Log.i(account.name + "/" + folder.name + " executing partition=" + key + " serial=" + serial + " operations=" + partition.size()); @@ -1888,7 +1888,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences final boolean shouldClose = (ifolder == null && canOpen); try { - Log.i(folder.name + " run " + (shouldClose ? "offline" : "online")); + Log.i(account.name + "/" + folder.name + " run " + (shouldClose ? "offline" : "online")); if (shouldClose) { // Prevent unnecessary folder connections