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

Re: [cobalt-users] RaQ4 Stats Problem



Hi, thanks for your reply, but I don't think that's going to solve the
problem. As I stated in my original post, the logs (in
/home/sites/sitex/logs) are fine. Depending on the site, they contain data
that goes back days, weeks, or months. The problem I'm having is the
"Reporting Period" in the control panel "Site Usage" page; it always goes
back only 24 hours, regardless of what's contained the site's log files.

I thought the problem might be with analog, but I've looked at
/etc/analog.cfg, /etc/logrotate.d/analog, and /etc/analog.cfg.pkgzave and
compared those files with ones on another RaQ that wasn't having the problem
I'm having, and the files were identical.

If anyone can shed some light on this problem, I would really appreciate it.

~ Chris Calabrese
WebWorkshop Webmaster
http://www.webworkshop.org

----- Original Message -----
From: "Martin Heelis" <martin@xxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, February 02, 2001 7:42 AM
Subject: 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