| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sun Jan 29, 2006 11:29 am Post subject: Urgent, Need SOURCE bytes in log |
|
|
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  |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Jan 29, 2006 11:30 am Post subject: |
|
|
| Forgot to mention, I'm on IceCast 2.3.1 |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Feb 06, 2006 8:05 am Post subject: |
|
|
| 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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Feb 06, 2006 11:58 am Post subject: |
|
|
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 |
|
 |
Guest
|
Posted: Mon Feb 06, 2006 4:36 pm Post subject: |
|
|
Cool, the fact it's acknowledged and not a problem, and might appear in a future release, that's good enough for me, thanks  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Feb 06, 2006 4:50 pm Post subject: |
|
|
If you submit a report on trac.xiph.org, then it won't get forgotten about
karl. |
|
| Back to top |
|
 |
|