[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] (Raq2) When do server logs reset?



>> 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