Open Bug 956817 Opened 9 years ago Updated 7 years ago

Port preference-based logging control to Log.jsm from Thunderbird's log4moz


(Toolkit :: General, defect)

Not set




(Reporter: Irving, Unassigned)


(Blocks 1 open bug)


A version of log4moz in the Thunderbird code base has preference-based controls. Shall we port this to toolkit/Log.jsm or do we need to bikeshed on the desired feature set first?
Blocks: 944367
Needinfo requested from gps, who owns Log.jsm.
Flags: needinfo?(gps)
There are bugzilla comments somewhere (possibly bug 451283) about my opinions on this. Essentially:

1) Establish convention for defining logging settings via preferences. We can look at services.sync.log for inspiration.
2) Create a JavaScript component that reconciles preference values with Log4Moz loggers and handlers.
3) Create an XPCOM service that watches prefs branch(es) containing logging settings and have it update logging settings in real time.
Flags: needinfo?(gps)
No longer blocks: 848569
You need to log in before you can comment on or make changes to this bug.