Merge "Add response time to keystone access log"

This commit is contained in:
Jenkins 2015-04-21 09:43:42 +00:00 committed by Gerrit Code Review
commit 4ab283fea1

View File

@ -1,5 +1,6 @@
Listen %PUBLICPORT% Listen %PUBLICPORT%
Listen %ADMINPORT% Listen %ADMINPORT%
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D(us)" keystone_combined
<VirtualHost *:%PUBLICPORT%> <VirtualHost *:%PUBLICPORT%>
WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV% WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
@ -11,7 +12,7 @@ Listen %ADMINPORT%
ErrorLogFormat "%{cu}t %M" ErrorLogFormat "%{cu}t %M"
</IfVersion> </IfVersion>
ErrorLog /var/log/%APACHE_NAME%/keystone.log ErrorLog /var/log/%APACHE_NAME%/keystone.log
CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined
%SSLENGINE% %SSLENGINE%
%SSLCERTFILE% %SSLCERTFILE%
%SSLKEYFILE% %SSLKEYFILE%
@ -27,7 +28,7 @@ Listen %ADMINPORT%
ErrorLogFormat "%{cu}t %M" ErrorLogFormat "%{cu}t %M"
</IfVersion> </IfVersion>
ErrorLog /var/log/%APACHE_NAME%/keystone.log ErrorLog /var/log/%APACHE_NAME%/keystone.log
CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined
%SSLENGINE% %SSLENGINE%
%SSLCERTFILE% %SSLCERTFILE%
%SSLKEYFILE% %SSLKEYFILE%