Shaun McCullagh <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've got three logfiles Oct_2001, Nov_2001 and Dec_2001.
> and I'd like to use analog's caching system.
>
> Here are the steps I followed:
>
> The first time I exec analog I put
>
> CACHEOUTFILE ./analog.cache
>
> in my analog config file and process the log file Oct_2001.
>
> Then I replace CACHEOUTFILE with 'CACHEFILE ./analog.cache'
> and exec analog a second time on the log file Nov_2001.
> The output from analog is fine at this stage.

You're reading the october results from analog.cache, and the November
results from the logfile. But you're not adding the November results to
the cachefile, because you don't have a CACHEOUTFILE command any more.
The HTML output contains the results for October and November.

> Then I process Dec_2001. The output from the monthly
> section shows no hits for November, even though there
> are quite a few.

But you're only reading the December Logfile and the cachefile, which
only has October information in it, because you didn't tell Analog to
add the November information to the cache file.

> If I then process the log file Jan_2002, the monthly
> results for both November and December show '0',
> but the October results are correct.
>
> Do I have to use a separate cache file for each month?

No, you don't have to, you can add each new month to the cachefile. But
you need to use the CACHEOUTFILE command to do that.

Aengus

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to