Closed
Bug 1432089
Opened 7 years ago
Closed 7 years ago
Option for connection logging WITHOUT external environment variables
Categories
(Thunderbird :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: thoste, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20171226003912
Steps to reproduce:
I want to log the connection start for one of my (POP3/IMAP) accounts in Thunderbird under WinOS.
According to web page
https://wiki.mozilla.org/MailNews:Logging
I have to setup multiple environment variable OUTSIDE of Thunderbird.
Setting up such environment variables in WinOS reveals sensitive information to other programs. Furthermore Portable Thunderbird (e.g. running from USB flash drive) is not independent any more.
Enabling/Disabling logging should be completely embedded inside Thunderbird.
This is the standard for all "normal" software development.
The user should setup the corresponding information variables at least in Config editor or (even better) on a separate option page.
Finally a checkbox should be added for each account "enable logging".
When user activates this box obviously logging should be performed using the predefined variable values.
Pls add this in the next release
Actual results:
see above
Expected results:
see above
Comment 1•7 years ago
|
||
We use Mozilla Core technology for logging. So this would have to move to a Core component. However, this looks like a WONTFIX to me. Eric?
Flags: needinfo?(erahm)
Comment 2•7 years ago
|
||
You can set 'logging.<log_name>' = <int_log_level> via prefs. This works fine for anything that doesn't need to log at startup. For example, the equivalent of 'MOZ_LOG=foo:5' would be 'logging.foo' = 5.
I think this is good enough for your purposes, so I'm going to close this as worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(erahm)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•