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

--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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.

Reply via email to