updated default logging to be at warning level and removed need to adjust the paramiko logger
This commit is contained in:
parent
69652ac577
commit
188914ccb1
2 changed files with 5 additions and 3 deletions
|
@ -2,6 +2,3 @@ import logging.config
|
|||
|
||||
# setup default null handler
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
|
||||
# disable paramiko logging
|
||||
logging.getLogger("paramiko").setLevel(logging.WARNING)
|
||||
|
|
|
@ -14,6 +14,11 @@
|
|||
}
|
||||
},
|
||||
"loggers": {
|
||||
"": {
|
||||
"level": "WARNING",
|
||||
"handlers": ["console"],
|
||||
"propagate": false
|
||||
},
|
||||
"core": {
|
||||
"level": "INFO",
|
||||
"handlers": ["console"],
|
||||
|
|
Loading…
Reference in a new issue