blob: 0342c49c4fd5edc969fd284ae4cf14dfef10b277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<% case logmode.to_s
when 'nologs' -%>
ErrorLog /dev/null
CustomLog /dev/null
<% when 'semianonym' -%>
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log noip
<% when 'anonym' -%>
ErrorLog /dev/null
CustomLog <%= logdir %>/access_log noip
<% else -%>
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log combined
<% end -%>
|