Skip to content

Commit 966463c

Browse files
author
Brant Knudson
committed
Keystone access log in key-access screen
When Keystone was run in Apache Httpd the access log wasn't in a screen. A new screen called key-access is now started with Keystone's access log. Change-Id: Ie1f4d4b679e1b9c87f0cea37deb25f7b6636fe01 Closes-Bug: #1359995
1 parent 2a6ce71 commit 966463c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

functions-common

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,7 @@ function is_service_enabled {
15961596
[[ ${service} == "trove" && ${ENABLED_SERVICES} =~ "tr-" ]] && enabled=0
15971597
[[ ${service} == "swift" && ${ENABLED_SERVICES} =~ "s-" ]] && enabled=0
15981598
[[ ${service} == s-* && ${ENABLED_SERVICES} =~ "swift" ]] && enabled=0
1599+
[[ ${service} == key-* && ${ENABLED_SERVICES} =~ "key" ]] && enabled=0
15991600
done
16001601
$xtrace
16011602
return $enabled

lib/keystone

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ function start_keystone {
468468
if [ "$KEYSTONE_USE_MOD_WSGI" == "True" ]; then
469469
restart_apache_server
470470
screen_it key "cd $KEYSTONE_DIR && sudo tail -f /var/log/$APACHE_NAME/keystone.log"
471+
screen_it key-access "sudo tail -f /var/log/$APACHE_NAME/keystone_access.log"
471472
else
472473
# Start Keystone in a screen window
473474
screen_it key "cd $KEYSTONE_DIR && $KEYSTONE_DIR/bin/keystone-all --config-file $KEYSTONE_CONF --debug"

0 commit comments

Comments
 (0)