log: Don't log with in color inside actions scripts

This would be better for collecting the stderr of the action and logging it
again.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2024-03-01 20:08:04 -08:00 committed by James Valleroy
parent ca0479aae2
commit 15b537ccb7
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -76,7 +76,9 @@ def action_init():
"""Initialize logging for action scripts."""
_capture_warnings()
logging.config.dictConfig(get_configuration())
configuration = get_configuration()
del configuration['handlers']['console']['formatter']
logging.config.dictConfig(configuration)
def init():