merging 2 xml reports into another one
Joost van Baal
joostvb at logreport.org
Tue Oct 29 22:49:30 CET 2002
Hi again Roman,
Congratulations! You've found a bug in Lire!
On Tue, Oct 29, 2002 at 09:23:17PM +0100, Joost van Baal wrote:
>
> First of all: which Lire version are you using? Are you using it from a
> binary package? Which package?
>
> On Tue, Oct 29, 2002 at 06:16:31PM +0100, rfv wrote:
> > hello, i have one problem with merging 2 xml files together.
> > i have created two xml reports from two WWW (apache,combined) logs ...
> > but when i merge this 2 xml files into one xml, date for both days are same.
> I've ran lr_xml2ascii on your files.
>
> 27.xml contains
>
> Number of Requests Served by 1d Period
>
> 2002-10-26 ................................................ 0
> 2002-10-27 .............................................. 250
> 2002-10-27 ................................................ 8
>
> (Hm, this looks pretty bad.)
> 27.xml has _two_ entries for 2002-10-27. Furthermore, it says its
> reporting on 2002-10-27 00:09:48 CET - 2002-10-27 23:52:16 CET, but
> still it has entries on 2002-10-26.
>
> Conclusion: the reports your trying to merge are broken.
> (You've sent us a log file in another message, I'll have a look at that
> one now.)
I just reproduced your bug, using your log files: even with current
Lire CVS, bogus XML reports are generated from it: the reports
contains duplicate entries on 2002-10-27. This might be related
to daylight savings time: your 27 log contains:
... [27/Oct/2002:01:03:31 +0200] ...
... [27/Oct/2002:01:05:48 +0200] ...
... [27/Oct/2002:02:48:40 +0100] ...
... [27/Oct/2002:03:50:04 +0100] ...
which is a valid sequence, of course. However, it might be this is what
causes Lire to choke. I'll do some more investigations, and I'll keep
you updated.
Thanks a lot for your bugreport!
Bye,
Joost
--
. . http://logreport.com/
| '.| /^LogReport$/
| Lire http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20021029/18aa2bce/attachment.bin
More information about the Questions
mailing list