updated default logging to be at warning level and removed need to adjust the paramiko logger

This commit is contained in:
Blake Harnden 2021-04-21 21:14:32 -07:00
parent 69652ac577
commit 188914ccb1
2 changed files with 5 additions and 3 deletions

View file

@ -2,6 +2,3 @@ import logging.config
# setup default null handler # setup default null handler
logging.getLogger(__name__).addHandler(logging.NullHandler()) logging.getLogger(__name__).addHandler(logging.NullHandler())
# disable paramiko logging
logging.getLogger("paramiko").setLevel(logging.WARNING)

View file

@ -14,6 +14,11 @@
} }
}, },
"loggers": { "loggers": {
"": {
"level": "WARNING",
"handlers": ["console"],
"propagate": false
},
"core": { "core": {
"level": "INFO", "level": "INFO",
"handlers": ["console"], "handlers": ["console"],