Forum OpenACS Q&A: Re: Bit OT: Webalizer with Subdomains...
2: Re: Bit OT: Webalizer with Subdomains... (response to 1)
Posted by David Kuczek on 01/07/05 06:23 PM
I just found out that one possibility is to grep all log entries associated with a specific subdomain on the fly and subsequently letting webalizer analyze that file:
"cat /var/log/httpd/access_log | grep -i foo.com | grep `date '+%d/%b/%Y'` >> ~/foo.access.log; webalizer -c ~/foo.webalizer.conf"
It "kinda" works. It's weird though that people that retrieved a page generated "Pages" but not *always* "Visits"! Is it possible that the grep command doesn't get all the necessary log entries for webalizer?
3: Re: Re: Bit OT: Webalizer with Subdomains... (response to 2)
Posted by Randy O'Meara on 01/08/05 02:54 AM
Another possibility is to create and roll site-specific access logs using the multilog facility that is included with daemontools.