On Fri, 6 Feb 2004, Tim Larson wrote:

> On 2/6/2004 3:46 PM, Peter Ordal felt like writing:
>
> > 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)
>
> This is not currently possible.  There was a thread on this (check the
> archives) on 11-12 November last year.  I agree, combining TO along with
> FROM and a LOGFILE format ought to be able to automatically look up the
> right files (for those using time-based rather than sequential logfile
> names anyway), but the functionality is not there.  Feel free to write a
> patch to add it.  ;)  I considered it, but my (lack of) free time does
> not permit.
>

No, it doesn't work. Typically 20040102.log will contain some entries from
1st January and some from 2nd January. Or for people who rotate their logs
weekly, it could contain entries back to 26th December. Analog can't guess
that from the name, without also knowing your specific rotation policy.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"The internet is a reflection of our society. If we do not like what we see,
 the problem is not to fix the mirror, we have to fix society." (Vint Cerf)
+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to