mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Reset the root logger to it's default level(because salt changed it)
This commit is contained in:
parent
b3d82cb189
commit
fcff6cea14
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ for handler in logging.root.handlers[:]:
|
|||
logging.root.removeHandler(handler)
|
||||
|
||||
|
||||
# Reset the root logger to it's default level(because salt changed it)
|
||||
logging.root.setLevel(logging.WARNING)
|
||||
|
||||
log = logging.getLogger('salt.testsuite')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue