Do not log chardet INFO
and DEBUG
levels
This commit is contained in:
parent
135442dcd6
commit
668822fc21
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user