Support debug logging for client/CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Craton's Python Client |
New
|
High
|
Unassigned |
Bug Description
It should be feasible to turn on (and subsequently off) debug logging for the client. The most important debugging is presumably http, but we may have other debugging support that we would want to enable in the future.
The following options should be available to do this setup. The order is in terms of override: a CLI option overrides the env var CRATON_DEBUG, etc.
1. environment variable: CRATON_
2. CLI option: --debug=
3. cratonclient.
To support http debugging, we can set up logging for the underlying requests and its libraries:
Changed in python-cratonclient: | |
importance: | Undecided → High |