On 2 Jan 2002 [EMAIL PROTECTED] wrote:
> 
> [bad numbers]
> 
> I am using caching to preserve stats between different analog invocations.
> 
> If it matters, this is how I am invoking Analog from a shell script (this
> is in a for ... `ls -1rt` loop): 
> 
> gunzip --to-stdout $mylog | analog - -G +g$ANALOG_CONFIG \
> +C"CACHEOUTFILE /caches/analog_cache.$filename" \
> +C"CACHEFILE /caches/analog_cache.*" \
> +C"OUTFILE usage.html"
> 

Yes, you're using caching wrongly. Look what happens:
   mylog1 gets made into cache.mylog1.
   Then mylog2 and cache.mylog get made into cache.mylog2.
   Then mylog3 and cache.mylog1 and cache.mylog2 get made into cache.mylog3.
By now cache.mylog3 contains mylog3, mylog2 and two copies of mylog1. And it
gets worse from there. (Note that you received a warning about overlapping
files when you did this. This is a bad sign.)

Have a careful read of docs/cache.html where this is explained more fully.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+------------------------------------------------------------------------
|  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