Skip to content

Document how to enable debug logging and use it for troubleshooting #2325

Closed
@roycaihw

Description

@roycaihw

Debug logging can be enabled to show information like HTTP request / response headers and bodies, which are useful for troubleshooting.

We have a short example showing how to enable debug logging, but it may be hard to discover and not comprehensive.

We can have a more detailed doc about how to enable debug logging, how to view the logged information, example usage and outputs for cases like creating & patching resources. The doc can be submitted under https://github.com/kubernetes-client/python/tree/master/devel and/or https://github.com/kubernetes-client/python/tree/master/doc

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions