Use common function for logging with devstack

Now that sevices run with systemd at the gate, use the common
function to make it compatible(i.e colorized_logging).

Change-Id: Ieb65618c1bcda3f56201ba3d3c49f6ef1c02c650
This commit is contained in:
rabi 2017-05-05 08:43:21 +05:30
parent fc8958fd76
commit a5838a8c21

View File

@ -133,11 +133,9 @@ function configure_heat {
# logging
iniset $HEAT_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
iniset $HEAT_CONF DEFAULT use_syslog $SYSLOG
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ] && [ "$HEAT_USE_MOD_WSGI" == "False" ] ; then
# Add color to logging output
setup_colorized_logging $HEAT_CONF DEFAULT tenant user
fi
# Format logging
setup_logging $HEAT_CONF $HEAT_USE_MOD_WSGI
if [ ! -z "$HEAT_DEFERRED_AUTH" ]; then
iniset $HEAT_CONF DEFAULT deferred_auth_method $HEAT_DEFERRED_AUTH