Klaas Jan Wierenga
2004-Sep-14 10:03 UTC
[Icecast] SOURCE access logging in 2.1-trunk breaks webalizer (streaming version)
Posting it on the mailing list for you Chris :-) KJ -----Oorspronkelijk bericht----- Van: Iceuse - Kris [mailto:iceuse@wwlang.net] Verzonden: dinsdag 14 september 2004 16:49 Aan: Klaas Jan Wierenga Onderwerp: Re: [Icecast] SOURCE access logging in 2.1-trunk breaks webalizer (streaming version) Hello, Yes, that's something which is making trouble with webalizer stats... when I made this version of webalizer, the log line for the source was containing the total amount of bytes transfered to the source (read by icecast). That was pretty handy for stats about sources. But since some time (a few months), this has changed. As i remember, I had a discussion with Karl on that subject. The small amount of bytes corresponds to the data send by icecast (not very sure, but maybe), so the log files are showing the output of the server (as for any client listener)... Writing source total amount of bytes read by icecast was breaking this rule. If this behaviour is necessary for some reasons, may be a compilation option could do the previous behaviour... I would like to have that... Regards, Chris Klaas Jan Wierenga wrote:>Hi, > >I am using Webalizer (streaming version) to process the Icecast accesslogs.> >In Icecast version 2.0.1 the "SOURCE /<mount>" access log entries wouldcontain the amount of data transferred for the source.>The svn-2.1-trunk version always return 17 as the amount of bytes sent forthe source, the number of seconds at the end of the log line is correct, however webalizer uses the bytes transferred to calculate it's statistics.> >In other words the sent_bytes statistics on source connections is notupdated anymore. I can see why one would do this, since the source data is not sent but received, but I still think it would be better to log the amount of source data transferred in the access.log. You could rename the sent_bytes field in connection.h to transferred_bytes.> >Cheers, >Klaas Jan > >k.j.wierenga@audioserver.nl > > >_______________________________________________ >Icecast mailing list >Icecast@xiph.org >http://lists.xiph.org/mailman/listinfo/icecast > > > >