Closed
Bug 1229022
Opened 9 years ago
Closed 9 years ago
Make treeherder-client log output less verbose by switching headers/request body to log.debug
Categories
(Tree Management Graveyard :: Treeherder: Client Libraries, defect, P1)
Tree Management Graveyard
Treeherder: Client Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
Will reduce the verbosity of logs for bug 1229020.
Also avoids dumping hawk hashes to logs (though these can't be used directly, since they have to be brute forced, but still).
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8693615 -
Flags: review?(mdoglio)
Updated•9 years ago
|
Attachment #8693615 -
Flags: review?(mdoglio) → review+
Comment 2•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/ca24ba6d419f6e877b1ca6194321b64b024523c2
Bug 1229022 - Make treeherder-client HTTPError output less verbose
The request body, request headers & response headers are now output with
a log level of `debug` rather than `error`, to reduce verbosity of logs.
In addition, the response body has now been combined with the log line
that outputs the URL, to make it easier to correlate lines in the log.
The type in the `_get_json()` ("Error *submitting* data") has also been
fixed, and string substitution now occurs lazily.
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•