From owner-freebsd-questions Thu Mar 14 15:33:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (Postfix) with ESMTP id 55F2F37B404 for ; Thu, 14 Mar 2002 15:33:46 -0800 (PST) Received: from buffnet5.buffnet.net (buffnet5.buffnet.net [205.246.19.14]) by buffnet4.buffnet.net (8.9.3/8.8.7) with ESMTP id SAA02665; Thu, 14 Mar 2002 18:51:42 -0500 (EST) (envelope-from mtech@buffnet.net) Date: Thu, 14 Mar 2002 18:33:35 -0500 (EST) From: Mohsin Rahman To: Nathan Mace Cc: freebsd-questions@FreeBSD.ORG Subject: Re: measuring apache In-Reply-To: <200203140525.AAA20536@uce55.uchaswv.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Maybe you need something like this in httpd.conf for each virtual host, have a line: some other host specific config line CustomLog logs/byte_xfers/vitaulhostname "%b" and then have a cronjob copy the logs with virtualhost+date possibly in the same directory. This way you have a running total for each virtualhost you have and the byte xfer. Hope this helps. On Thu, 14 Mar 2002, Nathan Mace wrote: > is there some way to have apache log the amount of data that it serves out? > what would be the best would if it could log it in a seperate file from the > regular logs, and somehow keep a running total of how much data it is serving > out on a daily or weekly basis. i've done a little googling and i flipped > though my apache o'reilly book, but didn't find anything. can one of you > guys point me in the right direction? thanks > > Nathan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Mohsin AbdulRahman MTech@BuffNET.Net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message