You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting DEBUG logging statements from this library by way of the requests library. To keep chardet logging messages from showing up in my logging output, I have to explicitly setLevel(logging.WARNING) for the chardet logger.
Would it be reasonable to add a NullHandler to your logger with the level of Logging.INFO? WARNING should still be displayed as described at https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library . Or is this not a problem, and the responsibility to silence all imported modules' logging on the person importing the library?
The text was updated successfully, but these errors were encountered:
Hi,
I am getting DEBUG logging statements from this library by way of the requests library. To keep chardet logging messages from showing up in my logging output, I have to explicitly setLevel(logging.WARNING) for the chardet logger.
Would it be reasonable to add a NullHandler to your logger with the level of Logging.INFO? WARNING should still be displayed as described at https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library . Or is this not a problem, and the responsibility to silence all imported modules' logging on the person importing the library?
The text was updated successfully, but these errors were encountered: