[analog-help] Date ranges

Jeremy Wadsack jeremy at 7simplemachines.com
Fri Aug 24 08:31:26 PDT 2007


Analog shouldn't report any information past the TO date. It will read files past that date. With your LOGFILE statement it will read all files and check every line.

--
 
Jeremy Wadsack
Seven Simple Machines


> -----Original Message-----
> From: analog-help-bounces at lists.meer.net [mailto:analog-help-
> bounces at lists.meer.net] On Behalf Of Martin O'Shea
> Sent: Friday, August 24, 2007 7:41 AM
> To: analog-help at lists.meer.net
> Subject: [analog-help] Date ranges
> 
> Hello
> 
> I want to use Analog to process a range of dates where there is one log
> file
> 
> for each date.
> 
> The only way I can see to do this at at moment is to write each log file
> name
> to analog.cfg like this:
> 
> LOGFILE "C:\Program Files\Analog\analog 6.0
> \Monolith2Test\monolith2_access_log.2007-08-08.txt"
> LOGFILE "C:\Program Files\Analog\analog 6.0
> \Monolith2Test\monolith2_access_log.2007-08-09.txt"
> 
> If i try using FROM and TO like:
> 
> LOGFILE "C:\Program Files\Analog\analog 6.0
> \Monolith2Test\monolith2_access_log.*"
> 
> FROM 070808
> TO   080809
> 
> Analog starts at the FROM date but goes past the TO DATE.
> 
> Any ideas as I would like to avoid the first approach as it may include up
> to a year's worth of log files?
> 
> By the way, is there a limit on the number of files Analog can include in
> one go?
> 
> Thanks
> 
> Martin O'Shea.
> 
> 
> 
> 
> 
> +------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |    http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Analog Documentation: http://analog.cx/docs/Readme.html
> |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> +------------------------------------------------------------------------



More information about the analog-help mailing list