From ba396cf0ef3c688d34a00baa083055c9bc5e0ba9 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 29 Sep 2011 16:59:36 +0200 Subject: [PATCH] More verbose loggin Thread names are used to determine the logging header in the TTY ui. A recent change made them too terse (basically only changing the account name and not the folder names). Unbreak. Signed-off-by: Sebastian Spaeth --- Changelog.draft.rst | 4 +++- offlineimap/accounts.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changelog.draft.rst b/Changelog.draft.rst index 7ced439..ae84931 100644 --- a/Changelog.draft.rst +++ b/Changelog.draft.rst @@ -15,7 +15,9 @@ New Features Changes ------- - + +* Indicate progress when copying many messages (slightly change log format) + Bug Fixes --------- diff --git a/offlineimap/accounts.py b/offlineimap/accounts.py index d28bd34..6ab451f 100644 --- a/offlineimap/accounts.py +++ b/offlineimap/accounts.py @@ -281,7 +281,7 @@ class SyncableAccount(Account): thread = InstanceLimitedThread(\ instancename = 'FOLDER_' + self.remoterepos.getname(), target = syncfolder, - name = "Folder sync [%s]" % self, + name = "Folder %s [acc: %s]" % (remotefolder, self), args = (self.name, remoterepos, remotefolder, localrepos, statusrepos, quick)) thread.setDaemon(1)