Setup color logging for Ironic

If enabled, setup colorized logging for Ironic API and Conductor.

Change-Id: I8c6d60185dd7907a0f9aa46fd1ae7a92f53406d0
This commit is contained in:
Adam Gandelman 2014-06-06 15:12:32 -07:00
parent 7b63c5ec9e
commit ab592931e2

View File

@ -147,6 +147,11 @@ function configure_ironic {
configure_ironic_api
fi
# Format logging
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
setup_colorized_logging $IRONIC_CONF_FILE DEFAULT
fi
if [[ "$IRONIC_BAREMETAL_BASIC_OPS" == "True" ]]; then
configure_ironic_auxiliary
fi