[Icecast] SOURCE access logging in 2.1-trunk breaks webalizer (streaming version)

Klaas Jan Wierenga k.j.wierenga at home.nl
Wed Sep 15 12:05:30 PDT 2004


Again, forwarding to the list. Please try to reply to the list.

Cheers,
KJ

-----Oorspronkelijk bericht-----
Van: Iceuse - Kris [mailto:iceuse at wwlang.net]
Verzonden: woensdag 15 september 2004 7:17
Aan: k.j.wierenga at 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 at 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 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 at audioserver.nl
>>
>>
>>_______________________________________________
>>Icecast mailing list
>>Icecast at xiph.org
>>http://lists.xiph.org/mailman/listinfo/icecast
>>
>>
>>
>>
>>
>>
>
>_______________________________________________
>Icecast mailing list
>Icecast at xiph.org
>http://lists.xiph.org/mailman/listinfo/icecast
>
>
>
>



More information about the Icecast mailing list