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

Re: [cobalt-users] webalizer..



> > What Zeffie and I tried is naming 'webalizer.pl' to
> > 'awebalizer.pl' so that
> > every night, cron will hit webalizer *first* and then go on to
logrotate.
> > I'm watching this for a few days to see if this works. It *seems* that
it
> > is, but the sites have gotten lower than normal traffic this week so
maybe
> > the log file size hasn't been triggered yet.
> > If it doesn't work, I'm going to go hunting around on some logfile size
> > settings.
>
>
> check the webalizer.conf file Carrie - there is an incremental yes flag
that
> means that webalizer will save the current state at exit. When it restarts
> it will get rid of dupes etc and add in the current log file. This allows
> you to use multiple partial logs during the month.
>

Right but the problem in Carries case was that the log information was gone
before it was analyzed.  therefore the incremental settings would not help.
If you run webalizer off something like /var/log/httpd/access you need the
incremental setting.  You also need the webalizer.hist and webalizer.current
file created.

Logrotate.d.... on your Raq you will find /etc/logrotate.d/ and
/etc/logrotate.onboot/ in each directory is a group of files that controls
the size of logfiles...  Both when logrotate is called and when the unit
reboots...  You can adjust or remove some of these files but the gui will
overwrite or restore them when changes are made to the affected site.

So if we analyze the data(logs) before we move the data to storage we get
more acurate reports.  Please note that there is a big diffrence between
mips and i386 in reguards to log handling.  For example: Logrotate and
Splitlogs are combined on i386 and seprate on mips.  This adds a little more
fun to it but in any case you need to make sure your data is current, and
there when you run webalizer and then rotate/split your logs.
HTH

Zeffie
http://www.zeffie.com/
If this message helps you please help others with just a click!
http://www.thehungersite.com/