[analog-help] pages not being recognised: possible bug

Ronan ronan-jhgmih at mail.cognotent.com
Thu May 3 03:21:28 PDT 2007


Hi.

I'm having a problem getting Analog to recognise certain requests as
pages.  For example, I would expect Analog to consider /b/a.html as a
page, but I can produce situations where it doesn't (and this is without
using any PAGEINCLUDE or PAGEEXCLUDE commands).  The likely explanation
for this problem seems to be a bug in Analog, but I may simply have
misunderstood the documentation.

First, I'll describe Analog's input.  Attached are 2 Analog configuration
files, with-logformat.cfg and without-logformat.cfg.  The only difference
between them is that one contains a LOGFORMAT command and the other
doesn't; the argument to LOGFORMAT is given in the Analog documentation
as being a valid definition for the common log format.

Also attached is the log that I'm using, which contains one request,
for /b/a.html.

Now to describe the problem.  If I run the following command, the
five-minute report produced by Analog indicates that the request is not
being recognised as a page:

  PATH_TO_ANALOG -G +g./with-logformat.cfg

Here's the five-minute report:

  Five-Minute Report
  ------------------
  This report lists the activity in each five-minute period.

  Each unit (+) represents 1 request for a page.

		   time: reqs: pages: 
  ---------------------: ----: -----: 
  25/Dec/98 17:45-17:50:    1:     0: 

  Busiest five minutes: 25/Dec/98 17:45-17:50 (0 requests for pages).
  ----------------------------------------------------------------------------

But if I run this command, the report indicates that Analog *did*
recognise the request as a page:

  PATH_TO_ANALOG -G +g./without-logformat.cfg

Finally, my question: can anyone explain how I can get Analog to recognise
the request as a page.

In case the cause of this behaviour is a bug in Analog, I'll give some
details that may be use in debugging.  The version of Analog that I'm
using is 6.0.  I built it on Debian Linux 3.1 using GCC 3.3.5, and am
running it on the same system.  To build, I simply changed to the "src"
directory and gave the command "make".

Regards,

Ronan.
-------------- next part --------------
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b)
LOGFILE "./log"
DNS NONE
ALL OFF
FIVEREP ON
REQUEST ON
REQFLOOR 1r
OUTPUT PLAIN
-------------- next part --------------
LOGFILE "./log"
DNS NONE
ALL OFF
FIVEREP ON
REQUEST ON
REQFLOOR 1r
OUTPUT PLAIN
-------------- next part --------------
62.99.84.113 - - [25/Dec/1998:17:45:35 +0000] "GET /b/a.html HTTP/1.1" 200 5318


More information about the analog-help mailing list