Closed
Bug 1643747
Opened 4 years ago
Closed 4 years ago
Setting RUST_LOG=crate=debug on android will emit debug logs for all crates
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla79
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Do an android build, and run e.g. ./mach mochitest --setenv RUST_LOG=webrender=debug --enable-webrender --keep-open=false gfx/layers/apz/test/mochitest/test_group_touchevents-3.html
. In another terminal, watch adb logcat
(or pipe it to a file or whatever)
Expected:
Debug-level logs from webrender are emitted to logcat, but not from other modules
Actual:
All sorts of debug-level logs show up, notably from stylo (e.g. style::invalidation::stylesheets
or style::stylist
tags).
Assignee | ||
Comment 1•4 years ago
|
||
I suspect that this is because the log_out
implementation on android here doesn't do any checks and bypasses the checks that env_logger
does on non-Android.
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → kats
Status: NEW → ASSIGNED
Comment 3•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Component: General → Panning and Zooming
Assignee | ||
Updated•4 years ago
|
Component: Panning and Zooming → XPCOM
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6adfcf57b6cb Filter rust logging on android by the underlying env_logger's filters. r=froydnj
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in
before you can comment on or make changes to this bug.
Description
•