Here is code:
logging.basicConfig(level=logging.DEBUG)
logging = logging.getLogger(__name__)
But I getting messages from other modules: image How to get rid of it?
Here is code:
logging.basicConfig(level=logging.DEBUG)
logging = logging.getLogger(__name__)
But I getting messages from other modules: image How to get rid of it?
It looks like your module is using chardet
. One way to reduce those logs is to set the level of the logger it uses.
logging.getLogger('chardet.charsetprober').setLevel(logging.WARNING)