On my understanding, each month analog will generate a new output file containging
present logs and previous stats from cachefiles, then analog will generate a
cacheoutfile%Y%M for recording acumulatives and I will rotate logs

why isn't right?

thanks,

jaume.

> On Tue, 1 Aug 2000, Jaume Teixi wrote:
>
> > I need to generate incremental stadistics each month,
> > so it is right to implement the following ?
> >
> > on my analog.conf file I have:
> >
> > LOGFILE    /var/apache/mydomain.log*
> > CACHEFILE /var/apache/mydomain.cache*
> > OUTPUT COMPUTER
> > OUTFILE /var/stats/mydomain.dat%Y%M
> > CACHEOUTFILE /var/apache/mydomain.cache%Y%M
> >
> > then my script does:
> > 1. run analog
> > 2. mv /var/apache/mydomain.log* /var/processed/mydomain.log.*
> > 3. apachectl graceful
> > 4. now my domain.dat%Y%M contains stats from all this month logs plus stats from
> > previous months logs
> >
> > done ?
> >
>
> No. You will analyse each logfile multiple times this way because all the
> data in the previous cache file is included in the new cache file. The
> correct procedure is in docs/cache.html.

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to