From owner-freebsd-isp Tue Feb 10 23:44:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09884 for freebsd-isp-outgoing; Tue, 10 Feb 1998 23:44:22 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from bert.club-web.com (bert.club-web.com [207.176.196.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09876 for ; Tue, 10 Feb 1998 23:44:13 -0800 (PST) (envelope-from mark@club-web.com) Received: from mark.club-web.com (dial-101.club-web.com [207.176.196.21]) by bert.club-web.com (8.8.8/8.8.6) with SMTP id CAA00809; Wed, 11 Feb 1998 02:18:57 -0500 (EST) From: "Mark Segal" To: "Kevin Day" , Subject: Re: Large httpd log files Date: Wed, 11 Feb 1998 02:12:17 -0500 Message-ID: <01bd36bc$62f64460$0201010a@mark.club-web.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yup it's quite simple... There are two things you must do. Firstly, in your virtual host directive in your httpd.conf make sure you define different logs for every virtual domain. like so. DocumentRoot /usr/home/yourname/public_html/ ServerName www.yourname.com ErrorLog logs/yourname-error_log TransferLog logs/yourname-access_log RefererLog logs/yourname-referer_log AgentLog logs/yourname-agent_log Secondly, you must configure analog to use those files instead.. i found the config files a pain so i just recompile it each time (now a script).. just change the file locations in the analhead.h -- Mark Segal mark@club-web.com System Admin > >All of my customer www traffic is logged to a single file. > >My customers want access to real-time stats, however, analog takes 20+ >minutes to analyze the log file towards the end of the month. (We erase the >log file on the 1st of the month). > >This makes analog's form/cgi interface completely useless as their web >browsers time out before they ever see the report. > >Does anyone here have any solutions to something like this that they've >worked out? > >Is it possible to make each user's traffic log to their own file, without >having to add a httpd.conf entry for each user? > >Kevin Day >DragonData > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message