firefox.collectMozLog does not work on Android
Have you read the documentation?
- [X] Yes, I've read the how to make a reproducable bug guide
- [X] Yes, I've read the how to debug my script guide
URL
No website
What are you trying to accomplish
Collecting moz_logs is very helpful for Firefox performance engineers.
As far as I can tell, firefox.collectMozLog does not copy the generated log file when running on Firefox for Android.
See usage: https://github.com/search?q=repo%3Asitespeedio%2Fbrowsertime%20collectMozLog&type=code
What browser did you use?
Firefox
How to reproduce
Run a gecko application on Android (e.g. geckoview_example) and pass in the arguments, `--firefox.collectMozLog --firefox.setMozLog="timestamp,nsHttp:5"`
Expected outcome:
The moz_log.txt files are copied back along with other artifacts like performance profiles
Actual outcome:
No moz_log.txt files are copied back.
Log output
No response
Hi @acreskeyMoz , do you know where the log file ends up? Do geckodriver pass on process.env.MOZ_LOG_FILE so the actual directory should then be on the phone?
Hi, @soulgalore, that's a good question. But even if geckodriver doesn't pass that along, we could come up with a good default. Let me try a couple of things, maybe I can get this working and put up a patch.