From 726a7399b14c3dffd98c74ddc6c51703dddb7bfd Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 21 Apr 2021 18:25:21 +0200 Subject: use the right format and right directory --- roles/awstats/templates/awstats.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roles') 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" + -- cgit