[Go to site: main page, start]

Closed Bug 2068605 Opened 1 month ago Closed 21 days ago

preserve file logging from moz-phab list --format json and moz-phab patch --raw

Categories

(Conduit :: moz-phab, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jcristau, Assigned: jcristau)

Details

Attachments

(1 file)

Some subcommands (patch --raw / list --format json) set the log level to error to prevent spurious log output to stdout which they want to keep parsable. However when they do that they also turn off the more verbose logging to moz-phab.log, which would be fine to keep.

Summary: preserve file logging from moz-phab list --json and moz-phab patch --raw → preserve file logging from moz-phab list --format json and moz-phab patch --raw

Add disable_stdout_logging helper to only change the level of the stdout
handler, leaving logging to moz-phab.log intact.

Authored by https://github.com/jcristau
https://github.com/mozilla-conduit/review/commit/4a30665ac77669ebd8a73438e846c8334875e085
[main] Bug 2068605 - keep file logging even when disabling stdout logging r=sheehan

Status: ASSIGNED → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: