Commit 635f4f86 authored by Oliver's avatar Oliver

added better log format for stats

parent 4af8750f
......@@ -14,7 +14,11 @@ SSLStaplingCache shmcb:/var/run/ocsp(128000)
# ISPConfig Logfile configuration for vlogger
################################################
<tmpl_if name='apache_version' op='>=' value='2.4.7' format='version'>
LogFormat "%v %h %l %u %t \"%r\" %>s %S \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
<tmpl_else>
LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
</tmpl_if>
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig
<Directory /var/www/clients>
......
......@@ -14,7 +14,11 @@ SSLStaplingCache shmcb:/var/run/ocsp(128000)
# ISPConfig Logfile configuration for vlogger
################################################
<tmpl_if name='apache_version' op='>=' value='2.4.7' format='version'>
LogFormat "%v %h %l %u %t \"%r\" %>s %S \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
<tmpl_else>
LogFormat "%v %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
</tmpl_if>
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig
<Directory /var/www/clients>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment