Date: Thu, 2 Aug 2001 10:23:41 -0700 From: Mahlon Smith <reich@internetcds.com> To: modaya72@hotmail.com Cc: freebsd-stable@freebsd.org Subject: Re: Apache Log question! Message-ID: <20010802102341.A65352@internetcds.com> In-Reply-To: <3B686488.6FF5FCFE@eboa.com>; from "roelof@eboa.com" on Wed, Aug 01, 2001 at 10:20:24PM References: <F251XM7e0C9guA8M6XQ0000b7e6@hotmail.com> <3B673784.11969509@whistle.com> <3B686488.6FF5FCFE@eboa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Why wouldn't you just use the tools already available on your system? % cat /etc/newsyslog.conf # Rotate and compress web logs at 10 megs, compress, and HUP apache. # Keep 15 old logs around. /var/log/httpd.log 644 15 10000 * Z /var/run/httpd.pid 1 Also, this really should have gone to freebsd-questions. -- Mahlon Smith System Administrator InternetCDS http://www.internetcds.com On Wed, Aug 01, 2001, Roelof Osinga wrote: > Evan Oldford wrote: > > > > Kashyap Kumar wrote: > > > > > > Hi, > > > > > > Can anybody help me to rotate my apache logs in /var/log directory. How can > > > I do that with syslog? > > > > > > help very much appriciated > > > > > > /mn > > > > http://www.freebsddiary.org/rotatelogs.php has a great example... > > Take a look at .../ports/sysutils/cronolog, does a nice job although > it keeps a lot of processes around. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010802102341.A65352>