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.
--
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]/
------------------------------------------------------------------------