Add the response time to keystone's access log for each request. This
will be the last element in the log-line and will be represented in
microseconds.
Change-Id: I19204369af5cdf06df2237550c350dfb3ffc995d
| ... | ... |
@@ -1,5 +1,6 @@ |
| 1 | 1 |
Listen %PUBLICPORT% |
| 2 | 2 |
Listen %ADMINPORT% |
| 3 |
+LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D(us)" keystone_combined
|
|
| 3 | 4 |
|
| 4 | 5 |
<VirtualHost *:%PUBLICPORT%> |
| 5 | 6 |
WSGIDaemonProcess keystone-public processes=5 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
| ... | ... |
@@ -11,7 +12,7 @@ Listen %ADMINPORT% |
| 11 | 11 |
ErrorLogFormat "%{cu}t %M"
|
| 12 | 12 |
</IfVersion> |
| 13 | 13 |
ErrorLog /var/log/%APACHE_NAME%/keystone.log |
| 14 |
- CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined |
|
| 14 |
+ CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined |
|
| 15 | 15 |
%SSLENGINE% |
| 16 | 16 |
%SSLCERTFILE% |
| 17 | 17 |
%SSLKEYFILE% |
| ... | ... |
@@ -27,7 +28,7 @@ Listen %ADMINPORT% |
| 27 | 27 |
ErrorLogFormat "%{cu}t %M"
|
| 28 | 28 |
</IfVersion> |
| 29 | 29 |
ErrorLog /var/log/%APACHE_NAME%/keystone.log |
| 30 |
- CustomLog /var/log/%APACHE_NAME%/keystone_access.log combined |
|
| 30 |
+ CustomLog /var/log/%APACHE_NAME%/keystone_access.log keystone_combined |
|
| 31 | 31 |
%SSLENGINE% |
| 32 | 32 |
%SSLCERTFILE% |
| 33 | 33 |
%SSLKEYFILE% |