Merge "Add support for CustomLog format modification"

This commit is contained in:
Jenkins 2016-06-10 21:49:16 +00:00 committed by Gerrit Code Review
commit 37ccd22b6c
3 changed files with 7 additions and 1 deletions

View File

@ -73,6 +73,7 @@ horizon_server_name: "{{ ansible_hostname | default('horizon') }}"
horizon_apache_servertokens: "Prod"
horizon_apache_serversignature: "Off"
horizon_log_level: info
horizon_apache_custom_log_format: combined
horizon_dropdown_max_items: 30
horizon_time_zone: UTC
horizon_enforce_password_check: False

View File

@ -0,0 +1,5 @@
---
features:
- Added ``horizon_apache_custom_log_format`` tunable
to the os-horizon role for changing CustomLog format.
Default is "combined".

View File

@ -17,7 +17,7 @@
LogLevel {{ horizon_log_level }}
ErrorLog /var/log/horizon/horizon-error.log
CustomLog /var/log/horizon/ssl_access.log combined
CustomLog /var/log/horizon/ssl_access.log {{ horizon_apache_custom_log_format }}
Options +FollowSymLinks
{% if not horizon_external_ssl | bool %}
SSLEngine on