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:
parent
fc8958fd76
commit
a5838a8c21
@ -133,11 +133,9 @@ function configure_heat {
|
|||||||
|
|
||||||
# logging
|
# logging
|
||||||
iniset $HEAT_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
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
|
# Format logging
|
||||||
# Add color to logging output
|
setup_logging $HEAT_CONF $HEAT_USE_MOD_WSGI
|
||||||
setup_colorized_logging $HEAT_CONF DEFAULT tenant user
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "$HEAT_DEFERRED_AUTH" ]; then
|
if [ ! -z "$HEAT_DEFERRED_AUTH" ]; then
|
||||||
iniset $HEAT_CONF DEFAULT deferred_auth_method $HEAT_DEFERRED_AUTH
|
iniset $HEAT_CONF DEFAULT deferred_auth_method $HEAT_DEFERRED_AUTH
|
||||||
|
Loading…
Reference in New Issue
Block a user