From cfc9465ee0ce212287f8426a883a94c1eee675a0 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Thu, 21 Aug 2014 18:25:29 -0500 Subject: [PATCH] Change httpd Keystone log to keystone.log The normal extension for log files is .log. Log rotation should work because the extension is as expected. Change-Id: Ia5e42ea9d953e8395b86ab58cdef6c2d852efc94 Related-Bug: #1359995 --- files/apache-keystone.template | 4 ++-- lib/keystone | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/apache-keystone.template b/files/apache-keystone.template index fc8731c559..7954a8634f 100644 --- a/files/apache-keystone.template +++ b/files/apache-keystone.template @@ -6,7 +6,7 @@ Listen %ADMINPORT% WSGIProcessGroup keystone-public WSGIScriptAlias / %PUBLICWSGI% WSGIApplicationGroup %{GLOBAL} - ErrorLog /var/log/%APACHE_NAME%/keystone + ErrorLog /var/log/%APACHE_NAME%/keystone.log LogLevel debug CustomLog /var/log/%APACHE_NAME%/access.log combined @@ -16,7 +16,7 @@ Listen %ADMINPORT% WSGIProcessGroup keystone-admin WSGIScriptAlias / %ADMINWSGI% WSGIApplicationGroup %{GLOBAL} - ErrorLog /var/log/%APACHE_NAME%/keystone + ErrorLog /var/log/%APACHE_NAME%/keystone.log LogLevel debug CustomLog /var/log/%APACHE_NAME%/access.log combined diff --git a/lib/keystone b/lib/keystone index 547646a644..07fee6e02e 100644 --- a/lib/keystone +++ b/lib/keystone @@ -467,7 +467,7 @@ function start_keystone { if [ "$KEYSTONE_USE_MOD_WSGI" == "True" ]; then restart_apache_server - screen_it key "cd $KEYSTONE_DIR && sudo tail -f /var/log/$APACHE_NAME/keystone" + screen_it key "cd $KEYSTONE_DIR && sudo tail -f /var/log/$APACHE_NAME/keystone.log" else # Start Keystone in a screen window screen_it key "cd $KEYSTONE_DIR && $KEYSTONE_DIR/bin/keystone-all --config-file $KEYSTONE_CONF --debug"