On Wed, 5 Jun 2002, Ethan Clauset wrote:

> 
> so something like this will tell analog to only read the current month's
> logfiles, but is there a way to specify yesterday's logfile, or the past
> seven days?
> 
> access_log.%Y-%M-??.gz
> 

If you have a TO command in effect, the %Y etc. are relative to the TO date,
not to the current time. This should solve the "yesterday's logfile"
problem.

For more complicated things, you may have to write a little script to
calculate the exact dates you're interested in.

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