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 

list of listeners

 
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: Sat Apr 28, 2007 4:43 am    Post subject: list of listeners Reply with quote

Hi,
would you please tell me how/where icecast2 show the list of listeners and how long they were connected.
The OS is kubuntu 6.06

Thanks
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 28, 2007 6:46 am    Post subject: Reply with quote

look on the admin pages, there is an option for listing listeners.

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





PostPosted: Sat Apr 28, 2007 3:07 pm    Post subject: Reply with quote

Hi KarlH, thanks for the answer.
Yes, in http://ipserver:8000/admin/listclients.xsl?mount=/FILE.ogg I can find the list of clients conected "now", but I'm looking for a complete list of listeners (including IP, time of conections, User Agent...) that listened my stream during the day/time

Thanks
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 28, 2007 6:17 pm    Post subject: Reply with quote

The access.log records all clients accesses, so you'll want that.

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





PostPosted: Sat Apr 28, 2007 8:05 pm    Post subject: Reply with quote

Hi karlH, thanks for the answer.
The file "access.log" located in /var/log/icecast2/ and displayed with Kate, is totaly empty!!
Inside the same dir I found also some file like "access.log.1.gz", "access.log.2.gz"...till "5.gz" and when I open it with Ark+Kate I found some "Log/access" to Icecast2 server, but the most recently is dated 22-apr (almost one week ago)?!?!?!
Sorry, maybe 'cause I'm dummies, but I didn't understood how it works.

Thanks
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 28, 2007 8:12 pm    Post subject: Reply with quote

well I don't know what your configuration is so it is impossible to say what you have specified in your xml. One thing for sure is that icecast does not compress the log files after cycling so those .gz files where created by something else.

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





PostPosted: Sat Apr 28, 2007 8:43 pm    Post subject: Reply with quote

Hi karlH, thanks for the answer.
...I suppose that you refering at this Icecast.xml part:
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
<logsize>10000</logsize>
</logging>
This is mine... I customized the default file only in user/pass and hostname/port...

However what you need to know for help me Embarassed


About the compressed file...in this cpu/server run only icecast2+darksnow+amarok...curious Confused

thanks
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Apr 29, 2007 12:38 am    Post subject: Reply with quote

icecast uses logdir/accesslog for writing details about connected clients. If it already exists then the data is appended.

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





PostPosted: Sun Apr 29, 2007 4:36 am    Post subject: Reply with quote

Hi karlH, thanks for the answer.
<logdir>/var/log/icecast2</logdir> in .xml and in this dir exist a file called access.log
so way no data appended and also way it stay empty??

Sorry, but I'm totally lost
Thanks
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Apr 29, 2007 12:24 pm    Post subject: Reply with quote

All I can suggest is to set log level to 4, start up icecast and whatever streams you are running, then start whatever listeners you want and maybe access the status page with a browser and then look into both the access log and error log. The error log will report the clients stat changing and every time a client disconnects an entry is reported is appended to access log.

There has been no other report of this sort of failure because it is fairly basic in operation. I can only describe what icecast does, without actual hard data such as log files I can only think that you are having some problem locally which is affecting icecast.

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





PostPosted: Tue May 01, 2007 4:01 am    Post subject: Reply with quote

Hi karlH, thanks for the answer.
...I reinstaled Icecast2, retart from default:
now in /var/log/icecast2/ i have ONLY 2 files: access.log and error.log
and also now, the boths, have data refering login and datas.

Only one more question: there isn't a Gui for reed the two .log files?? or may be better a way to include them in html page??


thanks
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 01, 2007 12:07 pm    Post subject: Reply with quote

Both those files are just plain text files so it's fairly easy to process them. In my branch work I've implemented a mechanism to view the last N lines of the logs on an /admin page but producing fancy graphics is left to something else

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