[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] log rotation...damnit
- Subject: Re: [cobalt-users] log rotation...damnit
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Sat Jul 22 18:25:26 2000
> How do I turn off log rotation. I know many people love it, but I want
one
> giant log file per domain that never gets reset or compressed or
> whatever...just one log file that I can delete at the end of the month.
Any
> ideas? the kb was practically useless.
> Jon
If you remove the logrotate script you will have to rotate things manualy or
run the risk of filling up your /var . and I'm not sure they won't get
messed with onboot? If you want to let the logs just grow I suggest this..
go around to all the sites and increase there disk space based on how big
you want that log file to get before it starts e-mailing you about space.
in /etc/logrotate.d rm all the site* files and the home file.
in /etc/logrotate.onboot rm all the site* files and the home file.
Just remember from now on that when you change in the site settings cobalt
will rebuild the files in the logrotate dirs.
Zeffie