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 

LogLevel Flag Request

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





PostPosted: Wed Nov 21, 2007 7:57 am    Post subject: LogLevel Flag Request Reply with quote

Hi

It would be nice if you could create another file to log only incoming connections, to be more organized or if you can create a flag in LogLevel to block logging of all the events but the incoming connections

ex:

I ussually have this:

xxx.xxx.xxx.xxx - - [17/Nov/2007:00:43:57 -0300] "GET /images/corner_topleft.jpg HTTP/1.0" 200 8238 "http://10.10.10.10:8888/adminbar.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Avant Browser; .NET CLR 2.0.50727)" 0
xxx.xxx.xxx.xxx - - [17/Nov/2007:00:43:57 -0300] "GET /images/icecast.png HTTP/1.0" 200 5161 "http://10.10.10.10:8888/adminbar.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Avant Browser; .NET CLR 2.0.50727)" 0
xxx.xxx.xxx.xxx - - [17/Nov/2007:00:43:58 -0300] "GET /images/corner_topright.jpg HTTP/1.0" 200 8240 "http://10.10.10.10:8888/adminbar.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Avant Browser; .NET CLR 2.0.50727)" 1

And I would like it to show only this:

xxx.xxx.xxx.xxx - - [21/Nov/2007:02:57:09 -0300] "GET / HTTP/1.0" 200 10675355 "-" "WinampMPEG/5.32" 4717

Thank You
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Nov 21, 2007 1:20 pm    Post subject: Reply with quote

Those are still incoming connections, exactly how would you determine when to log it or not?

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



Joined: 24 Nov 2007
Posts: 7

PostPosted: Sat Nov 24, 2007 6:13 am    Post subject: Reply with quote

I think what savemenico means is that if there is any chance to create a flag for the loglevel so that it would show only the successful connections to the mountpoints, that way we know who was actually listening, since the access.log currently shows all incoming connections and sometimes thats bothersome when it comes to locate a particular listener in the log file.

or at least be able to make a separate archive that shows the successful connections to the mountpoints so that we can cross-check that archive without losing the incoming events from the access.log
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Nov 24, 2007 6:39 am    Post subject: Reply with quote

I personally don't have an issue with adding a flag for limiting the logging, but it needs to clear on what should and should not be logged. For instance, if this flag only logs clients on streams then does that also include source clients and definitely not files served off webroot and what about /admin access.

My initial suggestion would be (default log everything) with flag enabled, log everything except webroot access. I don't think anyone has discussed this on the mailing list so feel free to post on there to get feedback.

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 -> Feature Requests 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