Reset the root logger to it's default level(because salt changed it)

This commit is contained in:
Pedro Algarvio 2019-06-05 18:14:15 +01:00
parent b3d82cb189
commit fcff6cea14
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -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')