Description
Debug mode is disabled automatically in the constructor.
python/kubernetes/client/configuration.py
Line 126 in 6b01c95
Doing so disables HTTP debug logging for the whole application.
python/kubernetes/client/configuration.py
Lines 265 to 270 in 6b01c95
This means that even HTTP requests that have nothing to do with k8s won't be logged anymore. This is neither expected or desirable. Enabling/disabling debug logging should not tamper with the global HTTPConnection.debuglevel
setting in any way.
Furthermore, it looks like two separate Configuration
s will still share their loggers. Consequently, you cannot really have one that has debug disabled and another with debug enabled. Thus it shouldn't be presented as an instance field.