add 2 conditional logging examples
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1836640 13f79535-47bb-0310-9956-
ffa450edef68
# This delays the evaluation of the condition clause compared to <If>
Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path\.php$#"
+# Conditional logging
+CustomLog logs/access-errors.log common “expr=%{REQUEST_STATUS} >= 400”
+CustomLog logs/access-errors-specific.log common “expr=%{REQUEST_STATUS} -in {'405','410'}"
+
</highlight>
</section>