Closed
Bug 1374561
Opened 7 years ago
Closed 7 years ago
Allow to set log level in mach for every class derived from MozbuildObject
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox56 fixed)
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: andi, Assigned: andi)
References
Details
Attachments
(1 file)
For every functionality/ command that we implement in mach it would be nice to set independently the log level.
For this my resolution would be to move:
>> def _set_log_level(self, verbose):
>> self.log_manager.terminal_handler.setLevel(logging.INFO if not verbose else logging.DEBUG)
From |PackageFrontend| to | MozbuildObject| because every new functionality/ command.
Comment 1•7 years ago
|
||
Note that when I said separate patch, I didn't mean a separate bug.
Assignee | ||
Comment 2•7 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #1)
> Note that when I said separate patch, I didn't mean a separate bug.
I thought we can track it more easy if i add a separate bug for this. Is it ok on your side if i upload it here?
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8879457 [details]
Bug 1374561 - Allow to set log level in mach for every class derived from MozbuildObject.
https://reviewboard.mozilla.org/r/150768/#review155968
Attachment #8879457 -
Flags: review?(mh+mozilla) → review+
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3b36dbe9b2a3
Allow to set log level in mach for every class derived from MozbuildObject. r=glandium
Comment 6•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•