Closed Bug 2084279 Opened 1 month ago Closed 1 month ago

The 3pcbexception log module can't be enabled with MOZ_LOG

Categories

(Core :: Networking: Cookies, defect)

defect

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: dcarver, Assigned: dcarver)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

The 3pcbexception log module can't be configured through MOZ_LOG, because MOZ_LOG doesn't accept a module name starting with a digit: MOZ_LOG=3pcbexception:5 doesn't enable it. Today the parser stops at the digit and drops the rest of the string; with bug 2080769 it reports an error and skips the entry. Only the logging.3pcbexception pref works, since the pref name isn't parsed. It is the only log module whose name starts with a digit.

Renaming the module to a name that starts with a letter would fix it, for example ThirdPartyCookieBlockingExceptions. Nothing else in the tree refers to the name.

MOZ_LOG doesn't accept module names starting with a digit, so the module
could only be enabled through the logging.3pcbexception pref.

Pushed by dcarver@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/08120ffff472 https://hg.mozilla.org/integration/autoland/rev/36827e1b377d Rename the 3pcbexception log module to ThirdPartyCookieBlockingExceptions. r=cookie-reviewers,manuel
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
See Also: → 2084854
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: