Closed
Bug 284943
Opened 20 years ago
Closed 20 years ago
Reduce debug noise from static component loader
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: darin.moz, Assigned: darin.moz)
Details
Attachments
(1 file)
|
3.21 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
The static component loader outputs a 3 lines of text for every module. Most developers won't care about that output. We should convert the code to using NSPR logging instead.
| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #176398 -
Flags: review?(benjamin)
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta2
Comment 2•20 years ago
|
||
Comment on attachment 176398 [details] [diff] [review] v1 patch >Index: nsStaticComponentLoader.cpp >+#ifdef PR_LOGGING >+static PRLogModuleInfo *sLog = PR_NewLogModule("StaticComponentLoader"); >+#endif Are you allowed to do that? Don't we still have byzantine toolchains around that don't run static initalizers?
| Assignee | ||
Comment 3•20 years ago
|
||
http://lxr.mozilla.org/seamonkey/source/docshell/base/nsWebShell.cpp#128 http://lxr.mozilla.org/seamonkey/source/modules/libutil/public/stopwatch.h#42 http://lxr.mozilla.org/seamonkey/source/netwerk/base/src/nsProtocolProxyService.cpp#62 http://lxr.mozilla.org/seamonkey/source/netwerk/cookie/src/nsCookieService.cpp#197 http://lxr.mozilla.org/seamonkey/source/xpcom/threads/nsTimerImpl.h#57 http://lxr.mozilla.org/seamonkey/source/gfx/src/gtk/nsDeviceContextSpecG.cpp#75 ... and the list goes on. we have good convention for allocating log modules this way, so i think it should be ok here.
Updated•20 years ago
|
Attachment #176398 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 4•20 years ago
|
||
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Looks like this broke the balsa tinderbox on SeaMonkey-Ports.
never mind; tree had local changes
You need to log in
before you can comment on or make changes to this bug.
Description
•