Browse code

Merge "Keystone access log in key-access screen"

Jenkins authored on 2014/09/09 01:23:20
Showing 2 changed files
... ...
@@ -1616,6 +1616,7 @@ function is_service_enabled {
1616 1616
         [[ ${service} == "trove" && ${ENABLED_SERVICES} =~ "tr-" ]] && enabled=0
1617 1617
         [[ ${service} == "swift" && ${ENABLED_SERVICES} =~ "s-" ]] && enabled=0
1618 1618
         [[ ${service} == s-* && ${ENABLED_SERVICES} =~ "swift" ]] && enabled=0
1619
+        [[ ${service} == key-* && ${ENABLED_SERVICES} =~ "key" ]] && enabled=0
1619 1620
     done
1620 1621
     $xtrace
1621 1622
     return $enabled
... ...
@@ -476,6 +476,7 @@ function start_keystone {
476 476
     if [ "$KEYSTONE_USE_MOD_WSGI" == "True" ]; then
477 477
         restart_apache_server
478 478
         screen_it key "cd $KEYSTONE_DIR && sudo tail -f /var/log/$APACHE_NAME/keystone.log"
479
+        screen_it key-access "sudo tail -f /var/log/$APACHE_NAME/keystone_access.log"
479 480
     else
480 481
         # Start Keystone in a screen window
481 482
         screen_it key "cd $KEYSTONE_DIR && $KEYSTONE_DIR/bin/keystone-all --config-file $KEYSTONE_CONF --debug"