Changed the log format for horizon's apache configuration

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
This commit is contained in:
George Peristerakis 2015-02-20 16:28:32 -05:00 committed by George Peristerakis
parent 889f604642
commit e7b51362fd

View File

@ -28,7 +28,9 @@
Require all granted Require all granted
</IfVersion> </IfVersion>
</Directory> </Directory>
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog /var/log/%APACHE_NAME%/horizon_error.log ErrorLog /var/log/%APACHE_NAME%/horizon_error.log
LogLevel warn LogLevel warn
CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined