summaryrefslogtreecommitdiff
path: root/apache/include.d/log-vhosts
diff options
context:
space:
mode:
Diffstat (limited to 'apache/include.d/log-vhosts')
-rw-r--r--apache/include.d/log-vhosts4
1 files changed, 4 insertions, 0 deletions
diff --git a/apache/include.d/log-vhosts b/apache/include.d/log-vhosts
new file mode 100644
index 0000000..de2ae41
--- /dev/null
+++ b/apache/include.d/log-vhosts
@@ -0,0 +1,4 @@
+LogFormat "[ %v %{%Y %m %d}t ] %h %l %u %t \"%r\" %>s %b" CustomLog
+LogFormat "[ %v %{%Y %m %d}t ] %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" CustomLog_combined
+#CustomLog "|/usr/local/bin/parselog" CustomLog
+CustomLog "|/usr/local/bin/parselog" CustomLog_combined