Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2001 22:38:58 -0600
From:      "Scott Gerhardt" <scott@gerhardt-it.com>
To:        "Ryan Thompson" <ryan@sasknow.com>, "brain_damaged" <brain_damaged@florida-wireless.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: httpd log files big 
Message-ID:  <KPEMLBLEMPMHGLJOCDEGIEGICMAA.scott@gerhardt-it.com>
In-Reply-To: <Pine.BSF.4.21.0111032357121.66878-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ryan,

Don't you mean Apache's "rotatelogs" instead of "logrotate"?
# man rotatelogs

rotatelogs(8)

NAME
       rotatelogs - rotate Apache logs without having to kill the
       server
____

You could also use FreeBSD's built in newsyslog utility to rotatate the
httpd log files, see Michael Lucas's article on using newsyslog
http://www.onlamp.com/pub/a/bsd/2001/06/14/Big_Scary_Daemons.html?page=1



   > Yes, apache includes a program called "logrotate" that does this very
   > nicely, so you don't have to kill the server. It's pretty simple to
   > implement... man 8 logrotate.
   >


_________________________________

Scott Gerhardt, P.Geo.
Gerhardt Information Technologies
_________________________________


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?KPEMLBLEMPMHGLJOCDEGIEGICMAA.scott>