summaryrefslogtreecommitdiff
path: root/apache2/conf.d/local-log-vhosts.conf
diff options
context:
space:
mode:
Diffstat (limited to 'apache2/conf.d/local-log-vhosts.conf')
-rw-r--r--apache2/conf.d/local-log-vhosts.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/apache2/conf.d/local-log-vhosts.conf b/apache2/conf.d/local-log-vhosts.conf
new file mode 100644
index 0000000..a8c8920
--- /dev/null
+++ b/apache2/conf.d/local-log-vhosts.conf
@@ -0,0 +1,5 @@
+# logformat used by vlogger
+LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_vlogger
+
+# Simple setup for a single shared dir for all vhosts
+#CustomLog "| /usr/sbin/vlogger -s access.log -u www-data -g www-data -t '%Y.%m.%d' /var/log/apache-vhosts" combined_vlogger