make job lifecycle Cyan again

This commit is contained in:
Seth Foster 2022-10-24 13:50:42 -04:00
parent e655e1dbc2
commit de41601f27
No known key found for this signature in database
GPG Key ID: 86E90D96F7184028

View File

@ -110,7 +110,7 @@ if settings.COLOR_LOGS is True:
# logs rendered with cyan text
previous_level_map = self.level_map.copy()
if record.name == "awx.analytics.job_lifecycle":
self.level_map[logging.DEBUG] = (None, 'cyan', True)
self.level_map[logging.INFO] = (None, 'cyan', True)
msg = super(ColorHandler, self).colorize(line, record)
self.level_map = previous_level_map
return msg