|
...
|
...
|
@@ -302,7 +302,7 @@ function configure_keystone {
|
|
302
|
302
|
fi
|
|
303
|
303
|
|
|
304
|
304
|
if [ "$KEYSTONE_USE_MOD_WSGI" == "True" ]; then
|
|
305
|
|
- iniset $KEYSTONE_CONF DEFAULT debug "True"
|
|
|
305
|
+ iniset $KEYSTONE_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
|
306
|
306
|
# Eliminate the %(asctime)s.%(msecs)03d from the log format strings
|
|
307
|
307
|
iniset $KEYSTONE_CONF DEFAULT logging_context_format_string "%(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s"
|
|
308
|
308
|
iniset $KEYSTONE_CONF DEFAULT logging_default_format_string "%(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s"
|
|
...
|
...
|
@@ -533,8 +533,12 @@ function start_keystone {
|
|
533
|
533
|
tail_log key /var/log/$APACHE_NAME/keystone.log
|
|
534
|
534
|
tail_log key-access /var/log/$APACHE_NAME/keystone_access.log
|
|
535
|
535
|
else
|
|
|
536
|
+ local EXTRA_PARAMS=""
|
|
|
537
|
+ if [ "$ENABLE_DEBUG_LOG_LEVEL" == "True" ]; then
|
|
|
538
|
+ EXTRA_PARAMS="--debug"
|
|
|
539
|
+ fi
|
|
536
|
540
|
# Start Keystone in a screen window
|
|
537
|
|
- run_process key "$KEYSTONE_DIR/bin/keystone-all --config-file $KEYSTONE_CONF --debug"
|
|
|
541
|
+ run_process key "$KEYSTONE_DIR/bin/keystone-all --config-file $KEYSTONE_CONF $EXTRA_PARAMS"
|
|
538
|
542
|
fi
|
|
539
|
543
|
|
|
540
|
544
|
echo "Waiting for keystone to start..."
|