Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2007 08:26:39 -0500
From:      "David Robillard" <david.robillard@gmail.com>
To:        peter@placidpublishing.net
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Apache Rotate Logs and Log Rotate.
Message-ID:  <226ae0c60703030526r3edae7adm54a8fcb7616dc669@mail.gmail.com>
In-Reply-To: <45E91275.8040102@placidpublishing.net>
References:  <226ae0c60702151024u6c71d50bn72d54631c33ed32@mail.gmail.com> <45D5FD5B.6030605@placidpublishing.net> <226ae0c60702161146i6ce6b54ayab9e279c9cf28d1@mail.gmail.com> <45E53C8F.8090100@placidpublishing.net> <226ae0c60702280813q288f646bt8fb8fca886716ee4@mail.gmail.com> <45E5FBE1.3030207@placidpublishing.net> <226ae0c60702281513o918561eo54f8eaf906d6a096@mail.gmail.com> <45E7A83C.5090704@placidpublishing.net> <226ae0c60703020954n7068e7eele9f8f7d875a1767@mail.gmail.com> <45E91275.8040102@placidpublishing.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/3/07, Peter Pluta <peter@placidpublishing.net> wrote:
> I see, thanks. Does the shell script you use automatically delete the
> original logs after verbalizer or awstats makes it's own? I imagine the
> ones those programs use are smaller in size?

No, the shell script does not delete any logs. Log rotation and
compression is the job of newsyslog.
Webalizer creates and maintains his own files which grow slowly over
time. How fast they grow depends on how busy your site is and how much
data you need to extract from the logs. Try it on one VirtualHost and
you'll see. If you like it, then extend your configuration to your
other VirtualHosts.

Talking about logs, you might want to send them to syslog. Here's a
quick article on this topic:
http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html

Cheers,

David
-- 
David Robillard
UNIX systems administrator & Oracle DBA
CISSP, RHCE & Sun Certified Security Administrator
Montreal: +1 514 966 0122



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?226ae0c60703030526r3edae7adm54a8fcb7616dc669>