Kevin Murphy <[EMAIL PROTECTED]> wrote:
> Aengus wrote:
>
>> But I did want to point out that having FROM and TO set won't
>> necessarily speed up Analog, as it will still have to read all
>> specified log files to find entries that fall between your FROM and
>> TO.
>
> Actually, I wrote a Perl module to dynamically create the minimal set
> of LOGFILE statements based on the FROM and TO values (my Apache logs
> are named chronologically, cut by month or day).  The module
> understands Analog FROM and TO syntax and populates a LOGFILE
> template to generate the actual LOGFILE names.  I've tested it, and
> it does speed up Analog quite a bit, as long as I can beat this
> double invocation problem.

Are you running this module when you're encountering the problem? How is 
it communicating with Analog? Is it causing the problem? (The debug logs 
you showed earlier show a single, monthly logfile being accessed both 
times, but the first time only the period that you specified in FROM and 
TO were analysed, and the second time the whole log was included).

> When I run analog manually on the command line with the same variables
> passed in my CGI test (with +gtest_var_settings.cfg), I can see only
> one run of analog, not surprisingly.  I was wondering initially if
> analog was recursively invoking itself for some strange reason.

I can't think of any way that that would happen.

Aengus 


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

Reply via email to