From 320959bbfdcc6e72ac804c230a52599a6f98d966 Mon Sep 17 00:00:00 2001 From: rabi Date: Fri, 3 Feb 2017 10:44:10 +0530 Subject: [PATCH] Tail correct log files with devstack We recently changed devstack to use httpd+mod_wsgi as the default and split the access logs. However, we don't seem to tail the correct log files. Change-Id: I3aaefc92e6dbf4721b6a979fc72835abe9b54f14 Closes-Bug: #1661495 --- devstack/lib/heat | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/devstack/lib/heat b/devstack/lib/heat index 2a04d9dca4..fa3e65b21a 100644 --- a/devstack/lib/heat +++ b/devstack/lib/heat @@ -292,9 +292,12 @@ function start_heat { enable_apache_site heat-api-cfn enable_apache_site heat-api-cloudwatch restart_apache_server - 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-cloudwatch /var/log/$APACHE_NAME/heat-api-cloudwatch.log + tail_log heat-api /var/log/$APACHE_NAME/heat_api.log + tail_log heat-api-access /var/log/$APACHE_NAME/heat_api_access.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 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"