Closed Bug 1531283 Opened 6 months ago Closed 6 months ago

Add MOZ_QUIET description to explain how to disable ++DOMWINDOW and ++DOCSHELL logging

Categories

(DevTools :: Documentation, enhancement, P2)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: miker, Assigned: miker)

Details

Attachments

(1 file)

Debugging memory leaks in tests I was getting sick of all the ++DOMWINDOW and ++DOCSHELL lines polluting our test logs in debug builds. I quickly looked into it and it turns out that you can add this to you .zshrc or .bashrc to disable them:

# Disable those annoying +++DOMWINDOW and +++DOCSHELL printfs from Firefox logs
export MOZ_QUIET=1

You can also send this when you do try runs... it makes the logs easier to read and makes the tests run faster because there is so much less logging:

./mach try -b do -p linux,linux64,macosx64,win32,win64 -u xpcshell,mochitest-bc,mochitest-e10s-bc,mochitest-dt,mochitest-chrome -t damp-e10s --setenv MOZ_QUIET=1

This should be added to the documentation.

Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3fa94e4ff5db
Add MOZ_QUIET description to explain how to disable ++DOMWINDOW and ++DOCSHELL logging r=sole
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.