Klaas Jan Wierenga
2004-Sep-15 12:07 UTC
[Icecast] SOURCE access logging in 2.1-trunk breaks webalizer (streaming version)
Again, forwarding to the list. Please try to reply to the list. Cheers, KJ -----Oorspronkelijk bericht----- Van: Iceuse - Kris [mailto:iceuse@wwlang.net] Verzonden: woensdag 15 september 2004 7:17 Aan: k.j.wierenga@home.nl Onderwerp: Re: [Icecast] SOURCE access logging in 2.1-trunk breaks webalizer (streaming version) Thanks, I'm very confused by this kind of lists where the answer goes to the sender and not to the list. Chris Klaas Jan Wierenga wrote:>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 thisrule.> >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 access >> >> >logs. > > >>In Icecast version 2.0.1 the "SOURCE /<mount>" access log entries would >> >> >contain the amount of data transferred for the source. > > >>The svn-2.1-trunk version always return 17 as the amount of bytes sent for >> >> >the 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 not >> >> >updated 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 >> >> >> >> >> >> > >_______________________________________________ >Icecast mailing list >Icecast@xiph.org >http://lists.xiph.org/mailman/listinfo/icecast > > > >