Added account name for sync stats

pull/184/head
M66B 4 years ago
parent 0e25c4feee
commit acbb2fb894

@ -1166,7 +1166,7 @@ class Core {
} }
if (!stats.isEmpty()) if (!stats.isEmpty())
EntityLog.log(context, folder.name + " fetch stats " + stats); EntityLog.log(context, account.name + "/" + folder.name + " fetch stats " + stats);
} finally { } finally {
((IMAPMessage) imessage).invalidateHeaders(); ((IMAPMessage) imessage).invalidateHeaders();
} }
@ -2440,7 +2440,7 @@ class Core {
stats.total = (SystemClock.elapsedRealtime() - search); stats.total = (SystemClock.elapsedRealtime() - search);
EntityLog.log(context, folder.name + " sync stats " + stats); EntityLog.log(context, account.name + "/" + folder.name + " sync stats " + stats);
} finally { } finally {
Log.i(folder.name + " end sync state=" + state); Log.i(folder.name + " end sync state=" + state);
db.folder().setFolderSyncState(folder.id, null); db.folder().setFolderSyncState(folder.id, null);

Loading…
Cancel
Save