| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sat Apr 28, 2007 4:43 am Post subject: list of listeners |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Apr 28, 2007 6:46 am Post subject: |
|
|
look on the admin pages, there is an option for listing listeners.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Apr 28, 2007 3:07 pm Post subject: |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Apr 28, 2007 6:17 pm Post subject: |
|
|
The access.log records all clients accesses, so you'll want that.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Apr 28, 2007 8:05 pm Post subject: |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Apr 28, 2007 8:12 pm Post subject: |
|
|
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 |
|
 |
Anonymous Guest
|
Posted: Sat Apr 28, 2007 8:43 pm Post subject: |
|
|
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
About the compressed file...in this cpu/server run only icecast2+darksnow+amarok...curious
thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Apr 29, 2007 12:38 am Post subject: |
|
|
icecast uses logdir/accesslog for writing details about connected clients. If it already exists then the data is appended.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Apr 29, 2007 4:36 am Post subject: |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Apr 29, 2007 12:24 pm Post subject: |
|
|
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 |
|
 |
Anonymous Guest
|
Posted: Tue May 01, 2007 4:01 am Post subject: |
|
|
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

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue May 01, 2007 12:07 pm Post subject: |
|
|
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 |
|
 |
|