Hey folks,
It's been notoriously difficult to get MOZ_LOG output from
Firefox for Android (aka Fenix). Setting environment variables is
cumbersome, setting individual preferences is painful,
about:logging isn't working there either.
That's why I implemented in bug 1894703 (https://bugzilla.mozilla.org/show_bug.cgi?id=1894703) another way to set MOZ_LOG modules using a single preference.
Now it's possible to open about:config, and set just one
preference logging.config.modules with the same MOZ_LOG
syntax that you know and love. Note that about:config isn't
available in Fenix Release.
Then it's possible to use the Firefox Profiler to capture these
log messages: more information about that in
https://profiler.firefox.com/docs/#/./guide-profiling-firefox-android.
I'd also like to thank Paul Adenot for his support while implementing this.
Happy debugging!
--
Julien
Small erratum: it's not in the Nightly currently available in
Play Store, it should be in the next one.
--
You received this message because you are subscribed to the Google Groups "dev-pl...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/a9a63e41-554f-4364-b44e-491c4d41448f%40mozilla.com.