Colorise mistral log output

This makes debugging more funny.

Change-Id: Ib5b20c8bb9b4acd331c87f1f8224cf053401d65b
(cherry picked from commit a51ef9c0b9)
This commit is contained in:
Oleksii Chuprykov 2015-10-06 14:25:32 +03:00 committed by Renat Akhmerov
parent 54a683356c
commit 31ee23296a

View File

@ -101,6 +101,10 @@ function configure_mistral {
# Configure action execution deletion policy
iniset $MISTRAL_CONF_FILE api allow_action_execution_deletion True
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
setup_colorized_logging $MISTRAL_CONF_FILE DEFAULT tenant user
fi
}