Simple one-liner (well 3 in 1) to enable logging for Mozilla Thunderbird on Linux (I’m using Kubuntu 12.10 Quantal at the moment):
export NSPR_LOG_MODULES=timestamp,imap:5,smtp:5,nsHttp:5,nsHostResolver:5; export NSPR_LOG_FILE=~/tmp/imap$(date +%s).log; thunderbird
This works for me on Thunderbird 16.0 creating logs in my /home/user/tmp/ folder named imapXXXXXXX.log where the X’s are replaced by a date indicator (see “man date” for details). For debugging connection errors you probably don’t need the “nsHttp:5,” part and will most likely get more useful logs without it!?
See for example https://developer.mozilla.org/en-US/docs/HTTP_Logging, https://wiki.mozilla.org/MailNews:Logging and http://www.mozilla.org/projects/nspr/reference/html/prlog.html for pertinent details and logging options.
Sorry, comments are closed.