Closed Bug 284943 Opened 19 years ago Closed 19 years ago

Reduce debug noise from static component loader

Categories

(Core :: XPCOM, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: darin.moz, Assigned: darin.moz)

Details

Attachments

(1 file)

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.
Attached patch v1 patchSplinter Review
Attachment #176398 - Flags: review?(benjamin)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta2
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?
Attachment #176398 - Flags: review?(benjamin) → review+
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 19 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.

Attachment

General

Creator:
Created:
Updated:
Size: