Enable folderfilter debug outlog

Nicolas Sebrecht nicolas.s-dev at laposte.net
Thu Mar 3 18:07:26 GMT 2011


On Thu, Mar 03, 2011 at 11:41:31AM +0100, Sebastian Spaeth wrote:
> folderfilter is a very useful thing, but it is very hard to debug
> because the user does not get any information as to how it operates and
> what it actually filters.
> 
> I will send 2 patches, the first merely makes self.ui available to all
> Repository() classes, the second actually gives us debug output what
> folderfilter has filtered out when the user has -d imap enabled.
> 
> The only thing I am a bit unsure is, if we should introduce another
> -debug option. Right now we have imap, maildir, thread (broken), or ALL.
> Should we have a "filter" category which would show what nametrans and
> folderfilter do?

I don't think it worth. Applied both patches.

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list