Open
Bug 1301821
Opened 8 years ago
Updated 2 years ago
NSPR_LOG_MODULES deprecation warning needs clarification
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
NEW
People
(Reporter: ng, Unassigned)
References
Details
The implication of the current warning:
WARNING: NSPR_LOG_MODULES is deprecated.
Please use MOZ_LOG instead.
is that the use of NSPR_LOG_MODULES can be replaced with MOZ_LOG, which it can't for modules that still use old logging backend.
Comment 1•8 years ago
|
||
Maybe something like "Note: NSPR_LOG_MODULES is intended to be used to enable NSPR and NSS logs, use MOZ_LOG for gecko logs" would be more clear.
Reporter | ||
Comment 2•8 years ago
|
||
That would work for me.
Comment 3•8 years ago
|
||
One big annoyance is that there's no way to know which logs work with which, so the only "safe" thing to do is to always set NSPR_LOG_MODULES (only).
There are several that are still using PR_NewLogModule() that probably don't have to be -- GMP (probably), AudioChannel, nsUpdateDriver probably, NSS perhaps, widget/gtk (several), Clipboard, nsSound, idleService, WinWakeLock
![]() |
||
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•