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

RE: [cobalt-users] RaQ4 Stats Problem



Hi

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.

Simple huh?

ttfn

Martin Heelis
--
"God, Root, What is the difference?" :>

> Message: 11
> From: "WebWorkshop" <webmaster@xxxxxxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Date: Fri, 2 Feb 2001 04:14:45 -0800
> Subject: [cobalt-users] RaQ4 Stats Problem
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>
> 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]....
> ~ Chris Calabrese
> WebWorkshop Webmaster
> http://www.webworkshop.org