Do not log chardet INFO and DEBUG levels

This commit is contained in:
Davte committed 2020-11-16 23:05:24 +01:00
1 parent dc9c2a7b14
commit cfae729270
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ __author__ = "Davide Testa"
__email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0"
__version__ = "2.7.0"
__version__ = "2.7.1"
__maintainer__ = "Davide Testa"
__contact__ = "t.me/davte"
+2
View File
@@ -60,6 +60,8 @@ from .utilities import (
# Do not log aiohttp `INFO` and `DEBUG` levels
logging.getLogger('aiohttp').setLevel(logging.WARNING)
# Same with chardet
logging.getLogger('chardet').setLevel(logging.WARNING)
# Some methods are not implemented yet: that's the reason behind the following statement