diff --git a/lib/keystone b/lib/keystone index 61b0a0c287..4bb6893089 100644 --- a/lib/keystone +++ b/lib/keystone @@ -267,9 +267,7 @@ function configure_keystone { fi # Format logging - if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ] && [ "$KEYSTONE_DEPLOY" != "mod_wsgi" ] ; then - setup_colorized_logging $KEYSTONE_CONF - fi + setup_logging $KEYSTONE_CONF iniset $KEYSTONE_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL diff --git a/lib/neutron b/lib/neutron index c7f62ed4a9..941a697816 100644 --- a/lib/neutron +++ b/lib/neutron @@ -231,12 +231,7 @@ function configure_neutron_new { fi # Format logging - if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then - setup_colorized_logging $NEUTRON_CONF DEFAULT project_id - else - # Show user_name and project_name by default - iniset $NEUTRON_CONF DEFAULT logging_context_format_string "%(asctime)s.%(msecs)03d %(levelname)s %(name)s [%(request_id)s %(user_name)s %(project_name)s] %(instance)s%(message)s" - fi + setup_logging $NEUTRON_CONF if is_service_enabled tls-proxy; then # Set the service port for a proxy to take the original