The default apache log format is noisy. Added a custom log format
that matches the other apache log format of projects like keystone
Closes-Bug: #1222900
Change-Id: Id9a8c3a4413c778e009c56ffde6b646b8a120c8b
... | ... |
@@ -28,7 +28,9 @@ |
28 | 28 |
Require all granted |
29 | 29 |
</IfVersion> |
30 | 30 |
</Directory> |
31 |
- |
|
31 |
+ <IfVersion >= 2.4> |
|
32 |
+ ErrorLogFormat "%{cu}t %M" |
|
33 |
+ </IfVersion> |
|
32 | 34 |
ErrorLog /var/log/%APACHE_NAME%/horizon_error.log |
33 | 35 |
LogLevel warn |
34 | 36 |
CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined |