Closed
Bug 905885
Opened 11 years ago
Closed 11 years ago
Log sendchange command in release runner
Categories
(Release Engineering :: Release Automation: Other, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: nthomas)
Details
Attachments
(2 files)
789 bytes,
patch
|
rail
:
review+
|
Details | Diff | Splinter Review |
1.60 KB,
patch
|
rail
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
Accidental reference to logging module rather than logging instance.
Attachment #791055 -
Flags: review?(rail)
Updated•11 years ago
|
Attachment #791055 -
Flags: review?(rail) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://hg.mozilla.org/build/tools/rev/6709ebcca89e release-runner upgraded and restarted.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•11 years ago
|
||
This isn't working for some reason.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 3•11 years ago
|
||
Here's a theory, arm your weapons to shoot it down: 1, INFO messages aren't output by default, it has to be WARNING or higher. 2, Early in release-runner we have logging.basicConfig(format="%(asctime)s - %(levelname)s - %(message)s") log = logging.getLogger(__name__) And later in main() there is a setLevel on that log object. 3, Other logging objects are created in imported modules (eg sanity.py for the sendchange), and the setLevel in 2 doesn't act on them (so no INFO shown) The fix here is to do the basicConfig() call later, when we know what the level should be, and that affects all logging objects. At least it does in a mock up of this situation.
Attachment #796528 -
Flags: review?(rail)
Updated•11 years ago
|
Attachment #796528 -
Flags: review?(rail) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 796528 [details] [diff] [review] [tools] Rearrange a little https://hg.mozilla.org/build/tools/rev/d7c75caea5ed
Attachment #796528 -
Flags: checked-in+
Assignee | ||
Comment 5•11 years ago
|
||
Updated tools checkout at bm81:/builds/releaserunner/tools.
Assignee | ||
Comment 6•11 years ago
|
||
Unfortunately this is still not working, need to find a way to debug closer to the actual code. Unrelated follow up to fix a typo in the last patch (top_level instead of log_level): https://hg.mozilla.org/build/tools/rev/df3b2dc94840
Assignee | ||
Comment 7•11 years ago
|
||
This is working now. I probably needed to restart release runner at comment #5.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•