Add ability to configure the apache logs
This change supports a new entry in the model to tune the configuration
of the error and custom logs. If absent, it defaults to the same
settings as before.
diff --git a/README.rst b/README.rst
index 0780397..0afea1a 100644
--- a/README.rst
+++ b/README.rst
@@ -150,6 +150,28 @@
# Set X-Frame-Options
frame_options: sameorigin
+Tune the log configuration:
+
+.. code-block:: yaml
+
+ parameters:
+ apache:
+ server:
+ site:
+ foo:
+ enabled: true
+ type: static
+ log:
+ custom:
+ enabled: true
+ file: /var/log/apache2/mylittleponysitecustom.log
+ format: >-
+ %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"
+ error:
+ enabled: false
+ file: /var/log/apache2/foo.error.log
+ level: notice
+
Example pillar
==============