-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Document how to enable debug logging and use it for troubleshooting #2325
Copy link
Copy link
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes 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.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes 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.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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