so that's the solution ?

analog.conf
  # read all logs from this month's weeks
  LOGFILE /var/apache/mydomain.log*
  # read cache containning previous acumulative stats
  CACHEFILE /var/apache/mydomain.cache
  # generate computer data output
  OUTPUT COMPUTER
  # generate stats from present month on logs + previous months on cache
  OUTFILE /var/stats/mydomain.dat%M%Y
  # remove previous historical cache for new historical cache
  CACHEOUTFILE /var/apache/mydomain.cache


incremental_stats.sh
  # run analog
  analog
  # move just procesed logs to secure archive
  mv /var/apache/mydomain.log*    /var/processed/mydomain.log*
  # restart apache in order to start new logs
  apachectl graceful


done ?

thanks for help,
jaume.



Stephen Turner wrote:

> On Wed, 2 Aug 2000, Jeremy Wadsack wrote:
> >
> > 2] Because the you're still building a cache file each month with ALL cumulative
> > results, then parsing all previous cachfiles. If you want to build a cumulative
> > cachfile, then delete the old ones. (But this isn't recommended -- see 
>docs/chache.html)
> >
>
> This is the point. Under your scheme:
>   cache1 is made from log1. OK.
>   cache2 is made from log2 + cache1 = log1 + log2. Still OK.
>   cache3 is made from log3 + cache1 + cache2 = log1 TWICE + log2 + log3.
>      Whoops.
>   cache4 is made from log4 + caches 1-3 = log1 x 3 + log2 x 2 + log3 + log4.
> And so on.
>
> --
> Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
>   Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
>   "The new operating system will recover more easily from system crashes."
>                           (Microsoft, aiming high with Windows Millennium)
>
> ------------------------------------------------------------------------
> 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]/
> ------------------------------------------------------------------------
begin:vcard 
n:Teixidor;Jaume
tel;fax:972 463114
tel;work:972 463050
x-mozilla-html:TRUE
url:http://www.6tems.com
org:6TEMS;Ducform, SA
adr:;;Pla de l'Estany, s/n;CASS� DE LA SELVA;Girona;17244;Spain
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administrador de Sistemes
x-mozilla-cpt:;-22912
fn:Jaume Teixidor
end:vcard

Reply via email to