[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] (Raq2) When do server logs reset?
- Subject: Re: [cobalt-users] (Raq2) When do server logs reset?
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri Oct 5 00:42:30 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>> When do the server stats logs reset themselves? Is it a time or size
>> thing? What's the best way of handling stats on a RAQ2?
>
> Both. Times/sizes depend on the specific file, I think. Have a look in
> /etc/logrotate.d. I've modified mine to rotate on a 5 day rotation (1 file
> per day), with a 10mb limit.
man logrotate
for more information and configuration. If you make changes to anything in
/etc/logrotate.d be sure to copy them over to /etc/logrotate.onboot.
hth,
j