Remove or reduce MozAfterPaint debug logging if unused
Categories
(GeckoView :: General, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: jonalmeida, Unassigned)
References
Details
Attachments
(1 file)
|
774.77 KB,
image/png
|
Details |
When debugging, GeckoView sometimes spams the adb logcat with MozAfterPaint logs like the ones below and in the attached screenshot making it annoying to find the logs that you would typically like to see (location change, webext, etc).
Do we get any value from these MozAfterPaint logs? Can we reduce or remove them or maybe enable them only with a certain flag if needed?
2024-07-12 15:19:12.240 15807-15855 GeckoViewP...elegate[C] org.mozilla.fenix.debug D handleEvent: MozAfterPaint
2024-07-12 15:19:12.243 14842-14878 GeckoViewProgress org.mozilla.fenix.debug D receiveMessage: MozAfterPaint
Updated•1 year ago
|
Comment 2•10 months ago
|
||
Aaron Train mentioned in a duplicate bug 1935492:
When debugging issues, I often find the default debug level too overwhelming with Gecko handling MozAfterPaint and MozFirstContentfulPaint event messages that completely flood output non-stop. It would be nice if I can set the log level as a sub-preference to enabling Gecko logs in secret settings. Error and Info, more-so Error are probably the ones I want to toggle only.
Enable Gecko Logs
↪ Debug (toggle)
↪ Error (toggle)
↪ Info (toggle)
Comment 3•10 months ago
|
||
Thanks, pretty much this from my dupe :)
Description
•