[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ4 Stats Problem
- Subject: Re: [cobalt-users] RaQ4 Stats Problem
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri Feb 2 11:26:28 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>> I've been searching for an answer to this problem with no luck whatsoever.
>> The problem is with the Site Usage stats in the siteadmin control
>> panel; the
>> "Period Covered" only goes back 24 hours (give or take a few
>> minutes). This
> ....[snip]....
> You need to edit the files in /etc/logrotate.d/ and /etc/logrotate.onboot/
>
> Simply edit the file corresponding to the site that you want to change and
> look for the following in the file:
>
> /home/sites/site21/logs/web.log {
> missingok
> compress
> size 10M
> }
>
> Simply change the size 10M to whatever you want the maximum log size to be.
> If you want the maximum size to be 100 megabytes then you would need:
> size 100M
>
> You will then need to copy this file to /etc/logrotate.onboot/ as well.
Great info Martin! I just wanted to add a couple of things. If you make any
changes to a site through the GUI it will overwrite your custom logrotate
files. I have a backup of mine that I copy back over to /etc/logrotate.d and
/etc/logrotate.onboot if I make any changes via the GUI. Also, type man
logrotate at the telnet prompt for more configuration options for Logrotate.
cya,
Jay