LOGFILE www.log.%Y%M*.log
or
LOGFILE www.log.%Y%M??.log
-- Duke
Stilgherrian wrote:
Peter, I think the line you want is:
LOGFILE www.log.*.log
The %Y and %M and %D are evaluated at the time Analog runs. So if you run it on, say, 6 February 2004 it'll evaluate to www.log.20040206.log and only process that file.
Yes, that does mean that it'll read all of the files and then discard the entries outside your TO and FROM range. But processor cycles are cheap. ;)
HTH,
Stil
Peter Ordal said:
I'm having trouble configuring analog properly. I want it to analyze multiple files based on the TO and FROM dates I give it. For example, I would say:
LOGFILE www.log.%Y%M%D.log FROM 040101 TO 040107
and it would look at www.log.20040101.log www.log.20040102.log www.log.20040103.log ..etc.
Is this possible? (Right now, with this setup, it only looks at one log
file, www.log.20040101.log)
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
