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)

defect

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).
Depends on: 1229025
Attachment #8693615 - Flags: review?(mdoglio) → review+
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.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1236957
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: