File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1162,11 +1162,9 @@ if [[ "$ENABLED_SERVICES" =~ "key" ]]; then
11621162 if [ " $SYSLOG " != " False" ]; then
11631163 sed -i -e ' /^handlers=devel$/s/=devel/=production/' \
11641164 $KEYSTONE_DIR /etc/logging.cnf
1165- sed -i -e "
1166- /^log_file/s/log_file/\#log_file/; \
1167- /^log_config/d;/^\[DEFAULT\]/a\
1168- log_config=$KEYSTONE_DIR /etc/logging.cnf" \
1165+ sed -i -e " /^log_file/s/log_file/\#log_file/" \
11691166 $KEYSTONE_DIR /etc/keystone.conf
1167+ KEYSTONE_LOG_CONFIG=" --log-config $KEYSTONE_DIR /etc/logging.cnf"
11701168 fi
11711169fi
11721170
12191217
12201218# launch the keystone and wait for it to answer before continuing
12211219if [[ " $ENABLED_SERVICES " =~ " key" ]]; then
1222- screen_it key " cd $KEYSTONE_DIR && $KEYSTONE_DIR /bin/keystone --config-file $KEYSTONE_CONF -d"
1220+ screen_it key " cd $KEYSTONE_DIR && $KEYSTONE_DIR /bin/keystone --config-file $KEYSTONE_CONF $KEYSTONE_LOG_CONFIG -d"
12231221 echo " Waiting for keystone to start..."
12241222 if ! timeout $SERVICE_TIMEOUT sh -c " while ! wget -q -O- http://127.0.0.1:5000; do sleep 1; done" ; then
12251223 echo " keystone did not start"
You can’t perform that action at this time.
0 commit comments