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
|
.mypy_cache
|
||||||
*.egg-info
|
*.egg-info
|
||||||
*.pyc
|
*.pyc
|
||||||
|
venv
|
||||||
|
|
||||||
*.qmlc
|
*.qmlc
|
||||||
*.jsc
|
*.jsc
|
||||||
|
|
|
@ -41,8 +41,11 @@ from .user_files import (
|
||||||
|
|
||||||
# Logging configuration
|
# Logging configuration
|
||||||
log.getLogger().setLevel(log.INFO)
|
log.getLogger().setLevel(log.INFO)
|
||||||
nio.logger_group.level = nio.log.logbook.WARNING
|
if hasattr(nio, 'log'):
|
||||||
nio.log.logbook.StreamHandler(sys.stderr).push_application()
|
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:
|
class Backend:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user