diff options
Diffstat (limited to 'templates/vhosts')
-rw-r--r-- | templates/vhosts/partials/logs.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/vhosts/partials/logs.erb b/templates/vhosts/partials/logs.erb index 650b204..68403a8 100644 --- a/templates/vhosts/partials/logs.erb +++ b/templates/vhosts/partials/logs.erb @@ -3,12 +3,12 @@ ErrorLog /dev/null CustomLog /dev/null <% when 'semianonym' -%> - ErrorLog <%= logdir %>/error_log - CustomLog <%= logdir %>/access_log noip + ErrorLog <%= logdir %>/<%= logprefix %>error_log + CustomLog <%= logdir %>/<%= logprefix %>access_log noip <% when 'anonym' -%> ErrorLog /dev/null - CustomLog <%= logdir %>/access_log noip + CustomLog <%= logdir %>/<%= logprefix %>access_log noip <% else -%> - ErrorLog <%= logdir %>/error_log - CustomLog <%= logdir %>/access_log combined + ErrorLog <%= logdir %>/<%= logprefix %>error_log + CustomLog <%= logdir %>/<%= logprefix %>access_log combined <% end -%> |