On Sun, 5 May 2002, Michael Lugassy wrote:

> I'm trying to find the best method for creating:
> 
> 1. daily log file, created at midnight by parsing today's log (IIS calls it:
> ex%y%M%D.log)
> 2. weekly log file, created at Saturday, on Midnight, parsing the entire
> week log + comparison to last 4 weeks
> 3. monthly log file, created at Midinght of the end of the month, parsing
> the entire month + comparison to last 3 months.
> 
> Must I always parse the entire /log/ directory and filter data based on
> WEEKROWS 5
> DAYREPROWS 10...?
> 

In addition to Aengus's answer, you could try looking at cache file. These
compress the data (but with loss of information) so that they're much
quicker to read in again.

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