Closed Bug 1606828 Opened 5 years ago Closed 5 years ago

Add -v[v] shorthand flag to ./mach puppeteer-test

Categories

(Remote Protocol :: Agent, enhancement, P1)

enhancement

Tracking

(firefox74 fixed)

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

(Reporter: ato, Assigned: ato)

References

Details

(Whiteboard: [puppeteer-beta-mvp])

Attachments

(1 file)

./mach marionette-test has a -v[v] flag to increase Gecko logging verbosity, and it would be convenient to have the same for the remote agent.

(My not-so-secret plan is for logs to stdout to go away with time in favour of a log streaming service as part of the protocol, and it would make sense to capture this with a flag rather than having to remember the specifics of remote.log.level.)

Priority: -- → P3
Whiteboard: [puppeteer-beta-reserve]

This introduces a -v[v] flag to the "./mach puppeteer-test" command
for increasing the logging verbosity of the remote agent in Gecko.
This can be used as a shorthand for --setpref="remote.log.level=<level>".

A single -v will enable log messages up to debug level, and two
-vv will enable all log messages up to trace level.

Assignee: nobody → ato
Status: NEW → ASSIGNED

This patch needs the extraPrefsFirefox fix from https://phabricator.services.mozilla.com/D58511.

Depends on: 1603078
Priority: P3 → P1
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta-mvp]
Pushed by atolfsen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24f9ca7b6c8b remote: add -v[v] flag to "./mach puppeteer-test" r=remote-protocol-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: