Open
Bug 1385904
Opened 8 years ago
Updated 3 years ago
Remove NSPR_LOG* backward compatibility code from xpcom/Logging.cpp
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: mayhemer, Unassigned)
Details
Attachments
(1 file)
2.07 KB,
patch
|
froydnj
:
review-
|
Details | Diff | Splinter Review |
I think no one is using the old vars expecting xpcom and above code to log. It's time to remove it, since when someone wants to log nspr these days (yes, it happens!) we want to avoid a stupid conflict.
![]() |
Reporter | |
Comment 1•8 years ago
|
||
Attachment #8892031 -
Flags: review?(nfroyd)
![]() |
||
Comment 2•8 years ago
|
||
Comment on attachment 8892031 [details] [diff] [review]
v1
Review of attachment 8892031 [details] [diff] [review]:
-----------------------------------------------------------------
I am cautiously in favor of this, but I am unsure of how much muscle/script memory this is going to break. I think we at least need to fix:
https://dxr.mozilla.org/mozilla-central/source/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp#194
to take MOZ_LOG_FILE into account. I guess we shouldn't remove the code at:
http://dxr.mozilla.org/mozilla-central/source/ipc/glue/GeckoChildProcessHost.cpp#496
and below, since people would want to log NSPR, and not handling those variables might cause issues.
Attachment #8892031 -
Flags: review?(nfroyd) → review-
Comment 3•8 years ago
|
||
Comment on attachment 8892031 [details] [diff] [review]
v1
Review of attachment 8892031 [details] [diff] [review]:
-----------------------------------------------------------------
::: xpcom/base/Logging.cpp
@@ -201,1 @@
> NSPRLogModulesParser(modules,
We should probably rename this and update its comments when/if this lands.
Comment 4•8 years ago
|
||
Also of course we'd need to update the mdn docs.
![]() |
Reporter | |
Comment 5•8 years ago
|
||
I won't have time to work on this soon to fulfill the requests, hence rather releasing from my list for now.
Assignee: honzab.moz → nobody
Status: ASSIGNED → NEW
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•