[analog-help] Dates Out Of Range In Request Report Generated From Cache File

tobias.schaefer at orf.at tobias.schaefer at orf.at
Mon Sep 3 07:43:47 PDT 2007


Hello

I am currently trying to configure Analog to produce two kinds of outputs: a 
monthly statistic and a current (incremental) statistic file, both HTML.

Thus, I added a cronjob that causes Analog to run every night whenever the 
Apache web server log is rotated. The results are written into a cache file 
(merged with the cache file).

This way I get an Analog cache file containing the incremental, ongoing 
statistic data.

So far, so good.

In a next step, I let Analog generate the two HTML files from the incremental 
cache. This also works, in the end I get the files "current.html" and e.g. 
"2007-09.html" (i.e. the data for September 2007).

I checked and verified the monthly output to be correct against a direct Analog 
output of HTML using the same settings in the beginning and as it looked fine, I 
decided to go live with this little system.

However, after a month I spotted the following (mis)behaviour:

Dates out of the specified range (defined by FROM and TO) appeared in the 
requests of the monthly HTML output, e.g. an entry for Aug-27 in the "2007-
09.html" file.

The header of the file, however, shows the correct date range, e.g. "Analysed 
requests from Sat-01-Sep-2007 00:00 to Mon-03-Sep-2007 04:02 (2.17 days)".

Did I miss anything to make the request report respect the given date range or 
is this result intentional?

I would be very happy to receive some help in this issue since I really don't 
have any clue how to proceed.

Best regards, 
tobi schäfer



More information about the analog-help mailing list