This commit is contained in:
Darko Poljak 2017-09-07 16:37:49 +02:00
commit f08ac264a0
3 changed files with 6 additions and 3 deletions

View file

@ -114,7 +114,8 @@ class Manifest(object):
}
self.env.update(
{'__cdist_loglevel': logging.getLevelName(self.log.getEffectiveLevel())})
{'__cdist_loglevel': logging.getLevelName(
self.log.getEffectiveLevel())})
def _open_logger(self):
self.log = logging.getLogger(self.target_host[0])