Merge "Tail correct log files with devstack"

This commit is contained in:
Jenkins 2017-03-15 02:28:44 +00:00 committed by Gerrit Code Review
commit 954b3bf901

View File

@ -287,9 +287,12 @@ function start_heat {
enable_apache_site heat-api-cfn enable_apache_site heat-api-cfn
enable_apache_site heat-api-cloudwatch enable_apache_site heat-api-cloudwatch
restart_apache_server restart_apache_server
tail_log heat-api /var/log/$APACHE_NAME/heat-api.log tail_log heat-api /var/log/$APACHE_NAME/heat_api.log
tail_log heat-api-cfn /var/log/$APACHE_NAME/heat-api-cfn.log tail_log heat-api-access /var/log/$APACHE_NAME/heat_api_access.log
tail_log heat-api-cloudwatch /var/log/$APACHE_NAME/heat-api-cloudwatch.log tail_log heat-api-cfn /var/log/$APACHE_NAME/heat_api_cfn.log
tail_log heat-api-cfn-access /var/log/$APACHE_NAME/heat_api_cfn_access.log
tail_log heat-api-cloudwatch /var/log/$APACHE_NAME/heat_api_cloudwatch.log
tail_log heat-api-cloudwatch-access /var/log/$APACHE_NAME/heat_api_cloudwatch_access.log
else else
run_process h-api "$HEAT_BIN_DIR/heat-api --config-file=$HEAT_CONF" run_process h-api "$HEAT_BIN_DIR/heat-api --config-file=$HEAT_CONF"
run_process h-api-cfn "$HEAT_BIN_DIR/heat-api-cfn --config-file=$HEAT_CONF" run_process h-api-cfn "$HEAT_BIN_DIR/heat-api-cfn --config-file=$HEAT_CONF"