Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Urgent, Need SOURCE bytes in log

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sun Jan 29, 2006 11:29 am    Post subject: Urgent, Need SOURCE bytes in log Reply with quote

Hi,

Will the number of bytes uploaded by a source be put in the access log anytime soon? I have a guy who regularly uploads 1 or 2 GB of stuff, which I get charged for, when he has no listeners.

My people know they are to be charged for their upload bandwidth, but I just can't log what their upload is, to bill them. I know the admin area does a running total, but it's hard to incorporate that into scripts because it's a number that keeps getting bigger, and then disappears when the source goes.

There is an entry in the access log but it is incorrect. Currently it shows:
"SOURCE /49999 ICE/1.0" 200 19 "-" "-" 19

where /49999 is the mount point.

If I can get the number of bytes a person uploads, this server will be perfect for me Smile
Back to top
Anonymous
Guest





PostPosted: Sun Jan 29, 2006 11:30 am    Post subject: Reply with quote

Forgot to mention, I'm on IceCast 2.3.1
Back to top
Guest






PostPosted: Mon Feb 06, 2006 8:05 am    Post subject: Reply with quote

Just wanted to ask, how come this is apparently such a challenge? It's no problem to work out in real time what someone uploads, so what about a final total in the logs? Simple enough, surely?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 06, 2006 11:58 am    Post subject: Reply with quote

It is not a problem to add it, it's just something that hasn't been asked for before the releases were done. The 19 bytes that you curently see is just the OK response when the source connects. The count is already done (because it's in the stats) but it's not sent to the access logger yet.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Mon Feb 06, 2006 4:36 pm    Post subject: Reply with quote

Cool, the fact it's acknowledged and not a problem, and might appear in a future release, that's good enough for me, thanks Smile
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 06, 2006 4:50 pm    Post subject: Reply with quote

If you submit a report on trac.xiph.org, then it won't get forgotten about

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber