Consolidate logging, support fine-grained logging
Categories
(Calendar :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: dbo, Assigned: mkmelin)
References
Details
Attachments
(6 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
| Reporter | ||
Comment 1•17 years ago
|
||
Comment 2•17 years ago
•
|
||
Comment 3•17 years ago
|
||
Updated•16 years ago
|
Updated•15 years ago
|
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
Comment 6•14 years ago
|
||
| Assignee | ||
Comment 7•3 years ago
|
||
Overall, calendar logging should also move over to using console.createInstance, and not be the strange global it is atm. See 944367.
https://searchfox.org/comm-central/rev/a3f0581ca2fcd95e6c32828f583ebfae5487c2ec/calendar/base/modules/calUtils.jsm#47
For getting familiar with the codebase, going through and fixing the logging let's one see a lot.
Updated•3 years ago
|
| Assignee | ||
Comment 8•3 months ago
|
||
grep --exclude-dir={.hg,rust,suite} -rlE 'cal\.LOGverbose' calendar/ | xargs sed -i -E 's#cal.LOGverbose#lazy.log.debug#g'
grep --exclude-dir={.hg,rust,suite} -rlE 'cal\.LOG' calendar/ | xargs sed -i -E 's#cal.LOG#lazy.log.debug#g'
For modules, add their own loggers.
For pure .js files, remove logging.
Updated•3 months ago
|
| Assignee | ||
Comment 9•3 months ago
|
||
| Assignee | ||
Comment 10•3 months ago
|
||
| Assignee | ||
Comment 11•3 months ago
|
||
| Assignee | ||
Comment 12•3 months ago
|
||
| Assignee | ||
Comment 13•3 months ago
|
||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
Comment 14•3 months ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5e158fbf782d
part1: remove usage of cal.LOG and cal.LOGVerbose. r=tobyp
https://hg.mozilla.org/comm-central/rev/6893fc1b9cfc
part2: remove usage of cal.WARN. r=tobyp
https://hg.mozilla.org/comm-central/rev/fd35f2f9f508
part3: remove usage of cal.ERROR. r=tobyp
https://hg.mozilla.org/comm-central/rev/c3e313ded227
part4: remove usage of cal.STACK. r=aleca
https://hg.mozilla.org/comm-central/rev/42233837fadd
part5: remove usage of cal.ASSERT. r=aleca
https://hg.mozilla.org/comm-central/rev/b108c9be4122
part6: remove definitions of the old logging releated functions, update prefs. r=aleca
Description
•