diff --git a/devstack/lib/zun b/devstack/lib/zun index f86cd9a2e..733811654 100644 --- a/devstack/lib/zun +++ b/devstack/lib/zun @@ -408,7 +408,8 @@ function start_zun_api { if [ -f ${enabled_site_file} ] && [ "$ZUN_USE_MOD_WSGI" == "True" ]; then enable_apache_site zun restart_apache_server - tail_log zun-api /var/log/$APACHE_NAME/zun_access.log + tail_log zun-api-access /var/log/$APACHE_NAME/zun_access.log + tail_log zun-api /var/log/$APACHE_NAME/zun_api.log else run_process zun-api "$ZUN_BIN_DIR/zun-api" fi diff --git a/etc/apache2/zun.conf.template b/etc/apache2/zun.conf.template index 49a900a1a..9c8c5973e 100644 --- a/etc/apache2/zun.conf.template +++ b/etc/apache2/zun.conf.template @@ -27,7 +27,7 @@ Listen %PUBLICPORT% WSGIScriptAlias / %PUBLICWSGI% WSGIProcessGroup zun-api - ErrorLog /var/log/%APACHE_NAME%/zun_error.log + ErrorLog /var/log/%APACHE_NAME%/zun_api.log LogLevel info CustomLog /var/log/%APACHE_NAME%/zun_access.log combined