summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2021-04-21 18:25:21 +0200
committerMichael Scherer <misc@redhat.com>2021-04-21 18:25:21 +0200
commit726a7399b14c3dffd98c74ddc6c51703dddb7bfd (patch)
treef23a836a3b746fb1dc5181a62bcf4641242fe9ab /roles
parent978a6c928cd0b6d420dcf15e349776c8bfc65ebc (diff)
use the right format and right directory
Diffstat (limited to 'roles')
-rw-r--r--roles/awstats/templates/awstats.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/awstats/templates/awstats.conf b/roles/awstats/templates/awstats.conf
index 13a4d96..90e3abe 100644
--- a/roles/awstats/templates/awstats.conf
+++ b/roles/awstats/templates/awstats.conf
@@ -1,7 +1,9 @@
LogFile="/var/log/httpd/{{ item }}_ssl_access.fixed.log"
LogType=W
-LogFormat="%time1 %host %other %other %methodurl %bytesd"
+LogFormat=1
SiteDomain={{ item }}
DNSLookup=1
DynamicDNSLookup=1
BuildReportFormat=xhtml
+DirData="/var/lib/awstats"
+