Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2001 06:15:45 +0000 (GMT)
From:      Mark Hughes <mh_lists@digitalspy.co.uk>
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        brain_damaged <brain_damaged@florida-wireless.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: httpd log files big 
Message-ID:  <Pine.LNX.4.33.0111040614400.948-100000@www.digitalspy.co.uk>
In-Reply-To: <Pine.BSF.4.21.0111040005460.66878-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Nov 2001, Ryan Thompson wrote:
> > 1) copied and gzip'd the old log files to an archive location
> > 2) touch'd new logfiles
> > 3) restarted apache to get it using the new log files.
>
> This will work, but Apache includes a nifty program called logrotate that
> accepts input from a piped Apache logfile. Doesn't require cron, doesn't
> require a script, and (this is the best part) doesn't require you to
> restart Apache, which can take a long time if you have several thousand
> vhosts and/or tons of SSL keys.. :-)

Now that sounds like it could well be worth investigating (mark quickly
adds it to the list of ports that he plans to install on the web server
he's planning at the moment :+) ).

Mark

--
Mark Hughes - DVD & Film Content Manager, Technical Officer
Digital Spy Ltd
http://www.digitalspy.co.uk/
Your number one source for digital media and entertainment news!



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0111040614400.948-100000>