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

RE: [cobalt-security] Need some help on "spam" report



At 03:07 PM 4/20/2004, you wrote:

> >
> >So how do I do that ?
> >
> >And is there a way to keep logs from rolling off so fast ?
>
> If you are familiar with the command line interface, see if
> you have a file
> /etc/logrotate.conf (RaQ 550 does).
> It will make sense when you read the file. I changed mine to
> effectively


The Qube indeed has the same file;

Login with telnet
type; pico -w /etc/logrotate.conf
change the line "rotate 4" into say "rotate 60"
hit ctrl-x to exit, save changes

This will keep your logs for 60 days, the comment line above stating 'keep
logs 4 weeks' suggest that the value is the number of weeks. That is
incorrect, it IS the number of days.

PS: Keep an eye on your /var partition! If it fills up with log files, you are in trouble!