Skip to content

Commit cfc9465

Browse files
author
Brant Knudson
committed
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
1 parent 219e9c2 commit cfc9465

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

files/apache-keystone.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Listen %ADMINPORT%
66
WSGIProcessGroup keystone-public
77
WSGIScriptAlias / %PUBLICWSGI%
88
WSGIApplicationGroup %{GLOBAL}
9-
ErrorLog /var/log/%APACHE_NAME%/keystone
9+
ErrorLog /var/log/%APACHE_NAME%/keystone.log
1010
LogLevel debug
1111
CustomLog /var/log/%APACHE_NAME%/access.log combined
1212
</VirtualHost>
@@ -16,7 +16,7 @@ Listen %ADMINPORT%
1616
WSGIProcessGroup keystone-admin
1717
WSGIScriptAlias / %ADMINWSGI%
1818
WSGIApplicationGroup %{GLOBAL}
19-
ErrorLog /var/log/%APACHE_NAME%/keystone
19+
ErrorLog /var/log/%APACHE_NAME%/keystone.log
2020
LogLevel debug
2121
CustomLog /var/log/%APACHE_NAME%/access.log combined
2222
</VirtualHost>

lib/keystone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ function start_keystone {
467467

468468
if [ "$KEYSTONE_USE_MOD_WSGI" == "True" ]; then
469469
restart_apache_server
470-
screen_it key "cd $KEYSTONE_DIR && sudo tail -f /var/log/$APACHE_NAME/keystone"
470+
screen_it key "cd $KEYSTONE_DIR && sudo tail -f /var/log/$APACHE_NAME/keystone.log"
471471
else
472472
# Start Keystone in a screen window
473473
screen_it key "cd $KEYSTONE_DIR && $KEYSTONE_DIR/bin/keystone-all --config-file $KEYSTONE_CONF --debug"

0 commit comments

Comments
 (0)