| View previous topic :: View next topic |
| Author |
Message |
luca066
Joined: 01 Dec 2011 Posts: 42
|
Posted: Tue Apr 16, 2013 11:07 pm Post subject: Understanding the access log file |
|
|
Hi Karl,
I've a question about the access log file.
I've noted that on the log file are reported many times the same row for a client.
Let me do an example:
| Code: |
ip_address - - [15/Apr/2013:23:14:45 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 10031 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:46 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 8777 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:46 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 8777 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:46 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 10031 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:46 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 10031 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:46 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 8777 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:46 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 10031 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:46 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 10031 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
ip_address - - [15/Apr/2013:23:14:47 W. Europe Daylight Time] "GET /mount HTTP/1.1" 200 10031 "-" "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3" 17
|
On the log file, this situation happens many times, changing the ip address, the mountname, the useragent.
Sometimes I see 3 rows, sometimes five ... sometimes more.
It's seem that icecast logs the same event many times when a client close the connection.
The useragent is not always the same, so I don't think this is a player problem.
I've this problem on a server using 2.3.2-kh32 .
What do you think?
Thanks in advance for your answer |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Apr 17, 2013 10:45 am Post subject: |
|
|
Many players do open a connection multiple times, often with different headers sent like range headers or maybe with and without the metadata request. You can certainly see something like that happening for say the ID3 tag at the end of a file but as there is no length returned then such requests would not be possible. Yes it is wasteful and annoying, but the access log is reflecting the state of requests made.
In the KH tree I can flag a client to not log in the access log, by doing things like <skip-accesslog>true</skip-accesslog> in a <mount> but for none useful attempts, it would need something more fine grained, a client with a range request is not enough as it could be a range request on a file, a minimum threshold of bytes sent could be another but that would often block out other small file requests. Soi it would need a combination check where you would get onto a stream first. It's one of those, how best to do kind of things
karl. |
|
| Back to top |
|
 |
|
|
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
|