[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#403598: marked as done (gnump3d-top produces wrong statistics when --logfiles option is used.)



Your message dated Mon, 2 Jun 2008 14:08:39 +0100
with message-id <200806021308.m52D8dCI011176@kmos.homeip.net>
and subject line gnump3d has been removed from Debian, closing #403598
has caused the Debian Bug report #403598,
regarding gnump3d-top produces wrong statistics when --logfiles option is used.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
403598: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403598
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnump3d
Version: 2.9.9.9-2

When I activate the option
   --logfiles=/var/log/gnump3d/access.log*
in /etc/gnump3d/gnump3d.conf to enable statistics on all log files processed by logrotate, the "View the most recent tracks served." web page displays wrong statistics.

Here you can show this webpage in the described situation :
$gnump3d-top --last --logfiles=/var/log/gnump3d/access.log*  | head -n 3
<tr><td><b>Host</b></td><td><b>Time</b></td><td><b>Song</b></td></tr>
<tr><td>AReims-157-1-105-208.w90-7.abo.wanadoo.fr</td><td>04/Nov/2006:11:10:24 </td><td><a href="/nonmetal/Herman Düne/Herman Düne - Giant/07. take me back to NYC.mp3.m3u">/nonmetal/Herman Düne/Herman Düne - Giant/07. take me back to NYC.mp3</a></td></tr> <tr><td>AReims-157-1-105-208.w90-7.abo.wanadoo.fr</td><td>04/Nov/2006:11:09:21 </td><td><a href="/nonmetal/Herman Düne/Herman Düne - Giant/16.Mrs Bigger.mp3.m3u">/nonmetal/Herman Düne/Herman Düne - Giant/16.Mrs Bigger.mp3</a></td></tr>

You can see that most recent listened files seems to have been listening on 04/Nov/2006. It is not true.
If I search in log files :
$for i in /var/log/gnump3d/access.log*gz; do if zcat $i | grep -q "04/Nov"; then echo $i; fi; done
/var/log/gnump3d/access.log.44.gz      <---- contains log of november 2005
/var/log/gnump3d/access.log.7.gz        <---- contains log of november 2006

You can see that these "most recent tracks served" come from access.log.7.gz. And of course between 04/Nov/2006 and today (18/Dec/2006) there are more recent listened files that should appear in "View the most recent tracks served.", logged in files between access.log.7.gz and access.log


Maybe an interesting point : if I write myself the 10 most recent files, the output is good $gnump3d-top --last -logfiles=/var/log/gnump3d/access.log /var/log/gnump3d/access.log.1 /var/log/gnump3d/access.log2.gz /var/log/gnump3d/access.log3.gz /var/log/gnump3d/access.log4.gz /var/log/gnump3d/access.log5.gz /var/log/gnump3d/access.log6.gz /var/log/gnump3d/access.log7.gz /var/log/gnump3d/access.log8.gz /var/log/gnump3d/access.log9.gz | head -n 3
<tr><td><b>Host</b></td><td><b>Time</b></td><td><b>Song</b></td></tr>
<tr><td>c2fa9614.adsl.oleane.fr</td><td>18/Dec/2006:10:09:39 </td><td><a href="/nonmetal/Iggy Pop-In the Death Car.mp3.m3u">/nonmetal/Iggy Pop-In the Death Car.mp3</a></td></tr> <tr><td>c2fa9614.adsl.oleane.fr</td><td>18/Dec/2006:10:09:39 </td><td><a href="/nonmetal/Iggy Pop-In the Death Car.mp3.m3u">/nonmetal/Iggy Pop-In the Death Car.mp3</a></td></tr>

And if I use pattern, output is bad :
$gnump3d-top --last --logfiles=/var/log/gnump3d/access.log.[0-9].gz | head -n 3
<tr><td><b>Host</b></td><td><b>Time</b></td><td><b>Song</b></td></tr>
<tr><td>AReims-157-1-105-208.w90-7.abo.wanadoo.fr</td><td>04/Nov/2006:11:10:24 </td><td><a href="/nonmetal/Herman Düne/Herman Düne - Giant/07. take me back to NYC.mp3.m3u">/nonmetal/Herman Düne/Herman Düne - Giant/07. take me back to NYC.mp3</a></td></tr> <tr><td>AReims-157-1-105-208.w90-7.abo.wanadoo.fr</td><td>04/Nov/2006:11:09:21 </td><td><a href="/nonmetal/Herman Düne/Herman Düne - Giant/16.Mrs Bigger.mp3.m3u">/nonmetal/Herman Düne/Herman Düne - Giant/16.Mrs Bigger.mp3</a></td></tr>


System is Debian GNU/Linux Etch (last upgrade done after frozen), kernel 2.6.8-3-k7-smp, libc6 2.3.6.ds1-8




--- End Message ---
--- Begin Message ---
Version: 3.0-4+rm

The gnump3d package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/468643 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues
http://Marco.Tondela.org


--- End Message ---

Reply to: