|
...
|
...
|
@@ -253,11 +253,17 @@ function configure_keystone {
|
|
253
|
253
|
fi
|
|
254
|
254
|
|
|
255
|
255
|
# Format logging
|
|
256
|
|
- if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
|
|
|
256
|
+ if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ] && ! is_apache_enabled_service key ; then
|
|
257
|
257
|
setup_colorized_logging $KEYSTONE_CONF DEFAULT
|
|
258
|
258
|
fi
|
|
259
|
259
|
|
|
260
|
260
|
if is_apache_enabled_service key; then
|
|
|
261
|
+ iniset $KEYSTONE_CONF DEFAULT debug "True"
|
|
|
262
|
+ # Eliminate the %(asctime)s.%(msecs)03d from the log format strings
|
|
|
263
|
+ iniset $KEYSTONE_CONF DEFAULT logging_context_format_string "%(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s"
|
|
|
264
|
+ iniset $KEYSTONE_CONF DEFAULT logging_default_format_string "%(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s"
|
|
|
265
|
+ iniset $KEYSTONE_CONF DEFAULT logging_debug_format_suffix "%(funcName)s %(pathname)s:%(lineno)d"
|
|
|
266
|
+ iniset $KEYSTONE_CONF DEFAULT logging_exception_prefix "%(process)d TRACE %(name)s %(instance)s"
|
|
261
|
267
|
_config_keystone_apache_wsgi
|
|
262
|
268
|
fi
|
|
263
|
269
|
}
|