Fix emulator colored logging
This commit is contained in:
parent
74e5d7182a
commit
840e417eb7
5 changed files with 12 additions and 12 deletions
|
|
@ -130,7 +130,7 @@ class Emulator(object):
|
|||
logging.root.setLevel(logging.WARNING)
|
||||
|
||||
colored_log = self.env.get('__cdist_colored_log', 'false')
|
||||
cdist.log.ColorFormatter.USE_COLORS = colored_log == 'true'
|
||||
cdist.log.CdistFormatter.USE_COLORS = colored_log == 'true'
|
||||
|
||||
self.log = logging.getLogger(self.target_host[0])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue