From acbb2fb8942a3be6e939ab66904cd7a8fc1ebd95 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 10 Aug 2020 09:53:06 +0200 Subject: [PATCH] Added account name for sync stats --- app/src/main/java/eu/faircode/email/Core.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 36d9064910..ed82b1df80 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1166,7 +1166,7 @@ class Core { } if (!stats.isEmpty()) - EntityLog.log(context, folder.name + " fetch stats " + stats); + EntityLog.log(context, account.name + "/" + folder.name + " fetch stats " + stats); } finally { ((IMAPMessage) imessage).invalidateHeaders(); } @@ -2440,7 +2440,7 @@ class Core { stats.total = (SystemClock.elapsedRealtime() - search); - EntityLog.log(context, folder.name + " sync stats " + stats); + EntityLog.log(context, account.name + "/" + folder.name + " sync stats " + stats); } finally { Log.i(folder.name + " end sync state=" + state); db.folder().setFolderSyncState(folder.id, null);