Merge pull request #13097 from fosterseth/cyan_log_lifecyle

make job lifecycle Cyan again
This commit is contained in:
Seth Foster 2022-10-26 16:57:03 -04:00 committed by GitHub
commit 368eb46f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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