Merge remote-tracking branch 'alex/fix-nio'
This commit is contained in:
commit
b61d1e7a3e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@ __pycache__
|
|||
.mypy_cache
|
||||
*.egg-info
|
||||
*.pyc
|
||||
venv
|
||||
|
||||
*.qmlc
|
||||
*.jsc
|
||||
|
|
|
@ -41,8 +41,11 @@ from .user_files import (
|
|||
|
||||
# Logging configuration
|
||||
log.getLogger().setLevel(log.INFO)
|
||||
nio.logger_group.level = nio.log.logbook.WARNING
|
||||
nio.log.logbook.StreamHandler(sys.stderr).push_application()
|
||||
if hasattr(nio, 'log'):
|
||||
nio.logger_group.level = nio.log.logbook.WARNING
|
||||
nio.log.logbook.StreamHandler(sys.stderr).push_application()
|
||||
else:
|
||||
log.getLogger('nio').setLevel(log.WARNING)
|
||||
|
||||
|
||||
class Backend:
|
||||
|
|
Loading…
Reference in New Issue
Block a user