Thunderbird:Logging UI: Difference between revisions
(update questions to reflect the new mockups, like Image:Thunderbird Debug Log Preference (on).png, that have been uploaded) |
|||
Line 13: | Line 13: | ||
=== Questions === | === Questions === | ||
* | * Do we notify someone if they change logging levels and do not restart thunderbird? | ||
** | ** Only while in logging mode? | ||
* | * How do we display the fact that we are in logging mode in the main mail interface? | ||
* | ** Assumption that this is necessary because we don't want people to forget and continue using thunerbird in logging mode beyond the task it's called for | ||
* How do we better show status of logging mode in the Preferences UI? | |||
** The current ON / off in the title is pretty lame, but I'm a little tired right now | |||
== Common Use Cases == | == Common Use Cases == |
Revision as of 05:01, 2 April 2008
this is a design scratch area for bug 193873
Purpose
Developers and program debuggers need to get logged information from a person's Thunderbird instance sent to them via email or uploaded to bugzilla. This interface enables anyone to turn on logging and send their logs to the proper location.
Concerns
- Logging slows down Thunderbird quite a bit
- Logging should only be on when needed, then off the rest of the time
- The log directory should probably be made available even while logging is disabled
- Some indication of logging mode should be used to indicate why Thunderbird is behaving differently
Questions
- Do we notify someone if they change logging levels and do not restart thunderbird?
- Only while in logging mode?
- How do we display the fact that we are in logging mode in the main mail interface?
- Assumption that this is necessary because we don't want people to forget and continue using thunerbird in logging mode beyond the task it's called for
- How do we better show status of logging mode in the Preferences UI?
- The current ON / off in the title is pretty lame, but I'm a little tired right now
Common Use Cases
Here are some common use cases with steps taken by each party involved.
Reproduce Problem
- User has problems with Thunderbird
- Developer or IT person instructs user how to turn on logging
- User turns on logging
- Set logging modules and levels?? (I doubt this is worthwhile -- many users won't know enough to be smart here --davida)
- restart required
- User attempts to reproduce problem
- User could :
- forward it to their local IT person via email
- attach log file to a bug
- read the debug information (developers especially)
- User turns off logging
- restart required
- should offer to delete logs?
Possible Improvements
- Could automate the uploading of information in a similar way to Breakpad
- Complicated and might ignore the local IT person case
- Preferences for
- logging levels
- modules
- logging directory
- Button to open log directory in Finder/Explorer
- Remove thunderbird restart requirement
Options
Options that are important for proper usage and are going to be changed by the majority of users should be in the main interface so they are obvious and easily changed. Other options should be in a preferences menu or scuttled away in the about:config.
Logging Modules
According to mail troubleshoot and MailNews:LDAP_Address_Books there are 6 types of protocol logging.
- "all" for All Protocols
- "IMAP" for IMAP
- "POP3" for POP
- "NNTP" for NNTP
- "SMTP" for SMTP
- "LDAP" for LDAP
These can be provided for in a drop down selector.
Logging Levels
Again, the mail troubleshoot page describes 5 levels of logging.
- PR_LOG_NONE = 0, /* nothing */
- PR_LOG_ALWAYS = 1, /* always printed */
- PR_LOG_ERROR = 2, /* error messages */
- PR_LOG_WARNING = 3, /* warning messages */
- PR_LOG_DEBUG = 4, /* debug messages */
These can be provided for in a drop down selector.