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

Re: [cobalt-users] log rotation...damnit



Joe Kerns schrieb:

> > in /etc/cron.daily/, remove the link to logrotate

> Not sure, but I think you can get the rotation to happen on based on >time rather than size, so it would rotate monthly, which may be more >useful for you. I'm pretty sure, you can't just delete the logs. 

that`s right. i did it by linking logrotate from /etc/cron.monthly
instead of /etc/cron.daily, so there`s no need to mess around with
logrotate`s configuration (if one is happy with the defaults).

the comman would be :

in /etc/cron.monthly, enter

	ln -s path/to/logrotate logrotate

i did not think that it could be a newbie`s question, that doesn`t know
the consequences, as he asked only how to disable it. my fault.

cu :-)

-- 

H. P.  Stroebel, Germany

CGI-FAQ for Raq-Newbies :
http://users.iol.it/hpstr/

Yes, I do. But not Yahoo.