[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ4 - Logrotate problems rotating
- Subject: Re: [cobalt-users] RaQ4 - Logrotate problems rotating
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon Nov 26 11:25:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> How do I stop logrotate gunzipping web.log every night?
> Could someone explain how logrotate works - explain it to me like I'm a two
> year old or else point me to a good tutorial on the web.
Logrotate uses the compress option to gunzip the logs.
/home/sites/site*/logs/web.log {
daily
compress
size 10M
}
Just remove the compress option in your /etc/logrotate.d/site# and copy it
over to /etc/logroate.onboot/site#
If you would like more info about the configuration of logrotate, type man
logrotate at the shell prompt.
One caveat, the GUI will overwrite these changes if you change the site
quota. The only way around it is to edit the Perl Modules for the GUI.
HTH,
j
--
http://www.bizmanuals.com