I run analog against a web log that's about 500 meg/day. I grab it to
a
local machine and overwrite it every night at midnight. Obviously,
caching is an attractive option. Sadly, I just don't get it.

I have analog and rmagic running, but am not sure how to operate with
the cache. Is is basically a matter of running analog twice, once to
create the cache, and once to generate a report from the cache? Is
there a command line option to use a second config file, in that case?

I'm running OSx 10.3. Here's a snippet from my /etc/analog.cfg:
LOGFILE /Pinetree/access_log.0 #logfile is grabbed via ftp and
overwritten at 12:30 a.m. each day
CACHEOUTFILE /Users/gwc/Sites/stats/analog/cache.dat
# CACHEFILE /Users/gwc/Sites/stats/analog/cache*.dat
#OUTFILE /Library/WebServer/Documents/Report.html
#OUTFILE /Users/gwc/sites/cgi-bin/analog/Report.html
OUTPUT COMPUTER
OUTFILE /Users/gwc/sites/stats/analog/report.dat

Here's a second config file I created:
# LOGFILE logfile.log
# LOGFILE /old/logs/access_log.*
#LOGFILE /Pinetree/access_log.0
#CACHEOUT /Users/gwc/Sites/stats/analog/cache%y%M%D.dat
CACHEFILE /Users/gwc/Sites/stats/analog/cache.dat
#OUTFILE /Library/WebServer/Documents/Report.html
#OUTFILE /Users/gwc/sites/cgi-bin/analog/Report.html
OUTPUT COMPUTER
OUTFILE /Users/gwc/sites/stats/analog/report.dat

Here's the command line I tried for a second run of analog:
   /usr/local/bin/analog -G +g/users/gwc/stats/analog/analog2.cfg

Doesn't work.

I've gone over docs/cache.html a dozen times or so, and I guess I'm
too
thick to get it.

Thanks for any help.

Greg



begin:vcard
fn:Greg Walz-Chojnacki
n:Walz-Chojnacki;Greg
email;internet:[EMAIL PROTECTED]
tel;work:414-229-4454
tel;fax:414-229-6443
url:http://www.uwm.edu/UWM/News
version:2.1
end:vcard

Reply via email to