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 

Summary of Log Files

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
cmodyssey



Joined: 28 Mar 2008
Posts: 63

PostPosted: Tue Jun 24, 2008 12:39 pm    Post subject: Summary of Log Files Reply with quote

Hi,

I'd like to get some summary information from the icecast server and put it in a file or web page.

I'm looking to get some key events to do with source connection and disconnection, so I'd want to log the date/time and source IP address of the source for each of these events:


    Source tries to connect but is unsuccessful and log why it didn't succeed (E.G. wrong password etc.)
    Source connects successfully
    Source disconnects from Icecast successfully
    Icecast disconnects from Source and log why (E.G. timeout etc.)


I want something like this to get to the bottom of problems that occur during live broadcasting and it takes quite a while to trawl through the icecast log files, picking out stuff to start to investigate what's wrong.

Has anyone done anything like this before?

Can anyone give me any pointers?

Are there any scripts about that does something like this?

Any help in this would be greatly appreciated.

Thanks in advance.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 24, 2008 3:23 pm    Post subject: Reply with quote

If you ignore the stats updates and listener changes then you should have a small enough list of events. search for words like timeout or exit.

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



Joined: 28 Mar 2008
Posts: 63

PostPosted: Tue Jun 24, 2008 7:00 pm    Post subject: Need to be identify which mountpoint Reply with quote

Hi karl,

Thank you for getting back to me Smile

I have been going through the log and pasted an extract from my error.log in code tags at the bottom of this posing. This shows a source connecting normally and I have put the lines that I am interested in between <interested> and </interested> virtual tags.

I can a PERL script together to extract most of what I'm interested in but I am going to have great difficulty in extracting the interested section that begins with "public (0)".

I only want to extract the log that is relevant to the mountpoint called "/live_mount"

Each set of log lines that begins with "public (0)" is logging from each mountpoint. I have three mount points set up in my icecast. I can't see a way of identifying which mountpoint the "public (0)" set of lines is for.

Can you think of a way I can successfully identify the mountpoint that I am interested in?

Thanks again.

Richard.


Code:

<interested>
[2008-06-24  17:29:07] INFO connection/_handle_source_request Source logging in at mountpoint "/live_mount"
[2008-06-24  17:29:07] DBUG connection/connection_complete_source sources count is 2
[2008-06-24  17:29:07] DBUG source/source_apply_mount Applying mount information for "/live_mount"
[2008-06-24  17:29:07] DBUG format-mp3/format_mp3_apply_settings mp3 interval -1
[2008-06-24  17:29:07] DBUG source/source_update_settings fallback /replay_mount
[2008-06-24  17:29:07] DBUG source/source_update_settings Dumping stream to /home/bcast/dump/dump.mp3
[2008-06-24  17:29:07] DBUG source/source_update_settings connect script "/home/bcast/ezstream/botstop"
[2008-06-24  17:29:07] DBUG source/source_update_settings disconnect script "/home/bcast/ezstream/botstart"
[2008-06-24  17:29:07] DBUG source/source_update_settings public set to 0
[2008-06-24  17:29:07] DBUG source/source_update_settings max listeners to 700
[2008-06-24  17:29:07] DBUG source/source_update_settings queue size to 524288
[2008-06-24  17:29:07] DBUG source/source_update_settings burst size to 65535
[2008-06-24  17:29:07] DBUG source/source_update_settings source timeout to 10
[2008-06-24  17:29:07] DBUG source/source_update_settings fallback_when_full to 0
</interested>
[2008-06-24  17:29:07] DBUG source/source_apply_mount Applying mount information for "/replay_mount"
[2008-06-24  17:29:07] DBUG format-mp3/format_mp3_apply_settings mp3 interval -1
[2008-06-24  17:29:07] DBUG source/source_update_settings fallback /music_change_filler
[2008-06-24  17:29:07] DBUG source/source_update_settings connect script "/usr/local/share/icecast/web/playing.pl"
[2008-06-24  17:29:07] DBUG source/source_update_settings public set to 0
[2008-06-24  17:29:07] DBUG source/source_update_settings max listeners to 700
[2008-06-24  17:29:07] DBUG source/source_update_settings queue size to 524288
[2008-06-24  17:29:07] DBUG source/source_update_settings burst size to 65535
[2008-06-24  17:29:07] DBUG source/source_update_settings source timeout to 10
[2008-06-24  17:29:07] DBUG source/source_update_settings fallback_when_full to 0
[2008-06-24  17:29:07] DBUG source/source_apply_mount Applying mount information for "/music_change_filler"
[2008-06-24  17:29:07] DBUG format-mp3/format_mp3_apply_settings mp3 interval -1
[2008-06-24  17:29:07] DBUG source/source_update_settings hidden from xsl
[2008-06-24  17:29:07] DBUG source/source_update_settings public set to 0
[2008-06-24  17:29:07] DBUG source/source_update_settings max listeners to 700
[2008-06-24  17:29:07] DBUG source/source_update_settings queue size to 524288
[2008-06-24  17:29:07] DBUG source/source_update_settings burst size to 65535
[2008-06-24  17:29:07] DBUG source/source_update_settings source timeout to 10
[2008-06-24  17:29:07] DBUG source/source_update_settings fallback_when_full to 0
[2008-06-24  17:29:07] DBUG connection/connection_complete_source source is ready to start
[2008-06-24  17:29:07] DBUG fserve/fserve_add_client_callback Adding client to file serving engine
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node connections (102936)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node sources (3)
<interested>
[2008-06-24  17:29:07] DBUG stats/process_source_event new node public (0)
[2008-06-24  17:29:07] DBUG stats/process_source_event new node server_name (radioactivefm.co.uk)
[2008-06-24  17:29:07] DBUG stats/process_source_event new node server_description (DJ Rich T - Old Skool)
[2008-06-24  17:29:07] DBUG stats/process_source_event new node server_url (http://www.radioactivefm.co.uk)
[2008-06-24  17:29:07] DBUG stats/process_source_event new node genre (Old Skool by Rich T)
[2008-06-24  17:29:07] DBUG stats/process_source_event new node server_type (audio/mpeg)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node max_listeners (700)
</interested>
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node public (0)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_name (radioactivefm.co.uk)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_description (27.04.2008 - SOUL FOCUS LIVE IN THE MIX 89 STYLEl)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_url (http://www.radioactivefm.co.uk)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node genre (House)
[2008-06-24  17:29:07] DBUG stats/process_source_event delete node bitrate
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_type (audio/mpeg)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node max_listeners (700)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node public (0)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_name (Changing Show)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_description (Loading up the next show to replay...)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_url (http://www.pureradioactivefm.co.uk)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node genre (House)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node server_type (audio/mpeg)
[2008-06-24  17:29:07] DBUG stats/modify_node_event update node max_listeners (700)
<interested>
[2008-06-24  17:29:08] DBUG source/source_init Source creation complete
[2008-06-24  17:29:08] DBUG source/source_run_script Starting command /home/bcast/ezstream/botstop
[2008-06-24  17:29:08] INFO source/source_move_clients passing 0 listeners to "/live_mount"
[2008-06-24  17:29:08] INFO source/get_next_buffer End of Stream /replay_mount
[2008-06-24  17:29:08] INFO source/source_shutdown Source "/replay_mount" exiting
</interested>
[2008-06-24  17:29:08] INFO source/source_move_clients passing 0 listeners to "/music_change_filler"
[2008-06-24  17:29:08] DBUG source/source_clear_source clearing source "/replay_mount"
[2008-06-24  17:29:08] DBUG source/source_free_source freeing source "/replay_mount"
<interested>
[2008-06-24  17:29:08] DBUG source/source_apply_mount Applying mount information for "/live_mount"
[2008-06-24  17:29:08] DBUG format-mp3/format_mp3_apply_settings mp3 interval -1
[2008-06-24  17:29:08] DBUG source/source_update_settings fallback /replay_mount
[2008-06-24  17:29:08] DBUG source/source_update_settings Dumping stream to /home/bcast/dump/dump.mp3
[2008-06-24  17:29:08] DBUG source/source_update_settings connect script "/home/bcast/ezstream/botstop"
[2008-06-24  17:29:08] DBUG source/source_update_settings disconnect script "/home/bcast/ezstream/botstart"
[2008-06-24  17:29:08] DBUG source/source_update_settings public set to 0
[2008-06-24  17:29:08] DBUG source/source_update_settings max listeners to 700
[2008-06-24  17:29:08] DBUG source/source_update_settings queue size to 524288
[2008-06-24  17:29:08] DBUG source/source_update_settings burst size to 65535
[2008-06-24  17:29:08] DBUG source/source_update_settings source timeout to 10
[2008-06-24  17:29:08] DBUG source/source_update_settings fallback_when_full to 0
</interested>
[2008-06-24  17:29:08] DBUG source/source_apply_mount Applying mount information for "/music_change_filler"
[2008-06-24  17:29:08] DBUG format-mp3/format_mp3_apply_settings mp3 interval -1
[2008-06-24  17:29:08] DBUG source/source_update_settings hidden from xsl
[2008-06-24  17:29:08] DBUG source/source_update_settings public set to 0
[2008-06-24  17:29:08] DBUG source/source_update_settings max listeners to 700
[2008-06-24  17:29:08] DBUG source/source_update_settings queue size to 524288
[2008-06-24  17:29:08] DBUG source/source_update_settings burst size to 65535
[2008-06-24  17:29:08] DBUG source/source_update_settings source timeout to 10
[2008-06-24  17:29:08] DBUG source/source_update_settings fallback_when_full to 0
<interested>
[2008-06-24  17:29:08] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2008-06-24  17:29:08] DBUG admin/admin_handle_request Got command (metadata)
[2008-06-24  17:29:08] INFO admin/admin_handle_request Received admin command metadata on mount "/live_mount"
[2008-06-24  17:29:08] DBUG admin/command_metadata Got metadata update request
[2008-06-24  17:29:08] INFO admin/command_metadata Metadata on mountpoint /live_mount changed to "Golden Girls - Kinetic (Orbital mix)"
[2008-06-24  17:29:08] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:29:08] DBUG stats/process_source_event new node source_ip (127.0.0.1)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node user_agent (libshout/2.2.2)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node source_client_connections (260)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node listeners (0)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node bitrate (128)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node channels (2)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node samplerate (44100)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node audio_info (bitrate=128;channels=2;samplerate=44100)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node listenurl (http://bitd_server:3389/live_mount)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node source_total_connections (260)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node slow_listeners (0)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node listeners (0)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node listener_peak (0)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node stream_start (Tue, 24 Jun 2008 17:29:08 +0100)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node listeners (0)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node clients (4)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node connections (102937)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node total_bytes_read (0)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node total_bytes_sent (0)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node listeners (0)
[2008-06-24  17:29:08] DBUG stats/process_source_event delete source node /replay_mount
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node sources (2)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node public (0)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_name (radioactivefm.co.uk)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_description (DJ Rich T - Old Skool)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_url (http://www.radioactivefm.co.uk)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node genre (Old Skool by Rich T)
[2008-06-24  17:29:08] DBUG stats/process_source_event delete node bitrate
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_type (audio/mpeg)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node max_listeners (700)
</interested>
[2008-06-24  17:29:08] DBUG stats/process_source_event new source stat /replay_mount
[2008-06-24  17:29:08] DBUG stats/process_source_event new node listeners (0)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node max_listeners (700)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node public (0)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_name (Changing Show)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_description (Loading up the next show to replay...)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_url (http://www.pureradioactivefm.co.uk)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node genre (House)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node server_type (audio/mpeg)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node max_listeners (700)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node client_connections (102166)
[2008-06-24  17:29:08] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:29:08] DBUG stats/process_source_event new node title (Golden Girls - Kinetic (Orbital mix))
[2008-06-24  17:29:09] DBUG stats/modify_node_event update node total_bytes_read (22521836375)
[2008-06-24  17:29:09] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:10] DBUG admin/admin_handle_request Admin request (/admin/stats)
[2008-06-24  17:29:10] DBUG admin/admin_handle_request Got command (stats)
[2008-06-24  17:29:10] DBUG admin/command_stats Stats request, sending xml stats
[2008-06-24  17:29:10] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:29:10] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:29:10] DBUG stats/modify_node_event update node connections (102938)
[2008-06-24  17:29:10] DBUG stats/modify_node_event update node client_connections (102167)
[2008-06-24  17:29:10] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:29:13] DBUG stats/modify_node_event update node total_bytes_read (81920)
[2008-06-24  17:29:13] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:14] DBUG stats/modify_node_event update node total_bytes_read (22521918295)
[2008-06-24  17:29:14] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:17] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2008-06-24  17:29:17] DBUG admin/admin_handle_request Got command (metadata)
[2008-06-24  17:29:17] INFO admin/admin_handle_request Received admin command metadata on mount "/music_change_filler"
[2008-06-24  17:29:17] DBUG admin/command_metadata Got metadata update request
[2008-06-24  17:29:17] INFO admin/command_metadata Metadata on mountpoint /music_change_filler changed to "jukebox_loading"
[2008-06-24  17:29:17] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:29:17] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:29:17] DBUG stats/modify_node_event update node connections (102939)
[2008-06-24  17:29:17] DBUG stats/modify_node_event update node client_connections (102168)
[2008-06-24  17:29:17] DBUG stats/modify_node_event update node title (jukebox_loading)
[2008-06-24  17:29:17] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:29:18] DBUG stats/modify_node_event update node total_bytes_read (159744)
[2008-06-24  17:29:18] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:19] DBUG stats/modify_node_event update node total_bytes_read (22521997791)
[2008-06-24  17:29:19] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:23] DBUG stats/modify_node_event update node total_bytes_read (241664)
[2008-06-24  17:29:23] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:24] DBUG stats/modify_node_event update node total_bytes_read (22522079711)
[2008-06-24  17:29:24] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:28] DBUG stats/modify_node_event update node total_bytes_read (323584)
[2008-06-24  17:29:28] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:29] DBUG stats/modify_node_event update node total_bytes_read (22522158400)
[2008-06-24  17:29:29] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:33] DBUG stats/modify_node_event update node total_bytes_read (401408)
[2008-06-24  17:29:33] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:34] DBUG stats/modify_node_event update node total_bytes_read (22522239600)
[2008-06-24  17:29:34] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:35] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2008-06-24  17:29:35] DBUG admin/admin_handle_request Got command (metadata)
[2008-06-24  17:29:35] INFO admin/admin_handle_request Received admin command metadata on mount "/music_change_filler"
[2008-06-24  17:29:35] DBUG admin/command_metadata Got metadata update request
[2008-06-24  17:29:35] INFO admin/command_metadata Metadata on mountpoint /music_change_filler changed to "jukebox_loading"
[2008-06-24  17:29:35] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:29:35] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:29:35] DBUG stats/modify_node_event update node connections (102940)
[2008-06-24  17:29:35] DBUG stats/modify_node_event update node client_connections (102169)
[2008-06-24  17:29:35] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:29:35] DBUG stats/modify_node_event update node title (jukebox_loading)
[2008-06-24  17:29:38] DBUG stats/modify_node_event update node total_bytes_read (455000)
[2008-06-24  17:29:38] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:39] DBUG stats/modify_node_event update node total_bytes_read (22522318951)
[2008-06-24  17:29:39] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:42] DBUG slave/_slave_thread checking master stream list
[2008-06-24  17:29:43] DBUG stats/modify_node_event update node total_bytes_read (561152)
[2008-06-24  17:29:43] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:44] DBUG stats/modify_node_event update node total_bytes_read (22522396775)
[2008-06-24  17:29:44] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:48] DBUG stats/modify_node_event update node total_bytes_read (643072)
[2008-06-24  17:29:48] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:49] DBUG stats/modify_node_event update node total_bytes_read (22522478695)
[2008-06-24  17:29:49] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:53] DBUG stats/modify_node_event update node total_bytes_read (721000)
[2008-06-24  17:29:53] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:53] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2008-06-24  17:29:53] DBUG admin/admin_handle_request Got command (metadata)
[2008-06-24  17:29:53] INFO admin/admin_handle_request Received admin command metadata on mount "/music_change_filler"
[2008-06-24  17:29:53] DBUG admin/command_metadata Got metadata update request
[2008-06-24  17:29:53] INFO admin/command_metadata Metadata on mountpoint /music_change_filler changed to "jukebox_loading"
[2008-06-24  17:29:53] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:29:53] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:29:53] DBUG stats/modify_node_event update node connections (102941)
[2008-06-24  17:29:53] DBUG stats/modify_node_event update node client_connections (102170)
[2008-06-24  17:29:53] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:29:53] DBUG stats/modify_node_event update node title (jukebox_loading)
[2008-06-24  17:29:54] DBUG stats/modify_node_event update node total_bytes_read (22522558191)
[2008-06-24  17:29:54] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:29:58] DBUG stats/modify_node_event update node total_bytes_read (803600)
[2008-06-24  17:29:58] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:29:59] DBUG stats/modify_node_event update node total_bytes_read (22522637200)
[2008-06-24  17:29:59] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:30:01] DBUG admin/admin_handle_request Admin request (/admin/stats)
[2008-06-24  17:30:01] DBUG admin/admin_handle_request Got command (stats)
[2008-06-24  17:30:01] DBUG admin/command_stats Stats request, sending xml stats
[2008-06-24  17:30:01] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:30:01] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:30:01] DBUG stats/modify_node_event update node connections (102942)
[2008-06-24  17:30:01] DBUG stats/modify_node_event update node client_connections (102171)
[2008-06-24  17:30:01] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:30:03] DBUG stats/modify_node_event update node total_bytes_read (880640)
[2008-06-24  17:30:03] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:30:04] DBUG stats/modify_node_event update node total_bytes_read (22522717935)
[2008-06-24  17:30:04] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:30:08] DBUG stats/modify_node_event update node total_bytes_read (962560)
[2008-06-24  17:30:08] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:30:09] DBUG stats/modify_node_event update node total_bytes_read (22522799855)
[2008-06-24  17:30:09] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:30:12] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2008-06-24  17:30:12] DBUG admin/admin_handle_request Got command (metadata)
[2008-06-24  17:30:12] INFO admin/admin_handle_request Received admin command metadata on mount "/music_change_filler"
[2008-06-24  17:30:12] DBUG admin/command_metadata Got metadata update request
[2008-06-24  17:30:12] INFO admin/command_metadata Metadata on mountpoint /music_change_filler changed to "jukebox_loading"
[2008-06-24  17:30:12] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:30:12] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:30:12] DBUG stats/modify_node_event update node connections (102943)
[2008-06-24  17:30:12] DBUG stats/modify_node_event update node client_connections (102172)
[2008-06-24  17:30:13] DBUG stats/modify_node_event update node title (jukebox_loading)
[2008-06-24  17:30:13] DBUG stats/modify_node_event update node total_bytes_read (1040384)
[2008-06-24  17:30:13] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:30:13] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:30:14] DBUG stats/modify_node_event update node total_bytes_read (22522879400)
[2008-06-24  17:30:14] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:30:18] DBUG stats/modify_node_event update node total_bytes_read (1122304)
[2008-06-24  17:30:18] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:30:19] DBUG stats/modify_node_event update node total_bytes_read (22522957175)
[2008-06-24  17:30:19] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:30:23] DBUG stats/modify_node_event update node total_bytes_read (1200128)
[2008-06-24  17:30:23] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:30:24] DBUG stats/modify_node_event update node total_bytes_read (22523039095)
[2008-06-24  17:30:24] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:30:28] DBUG stats/modify_node_event update node total_bytes_read (1282048)
[2008-06-24  17:30:28] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:30:29] DBUG stats/modify_node_event update node total_bytes_read (22523116919)
[2008-06-24  17:30:29] DBUG stats/modify_node_event update node total_bytes_sent (372400)
[2008-06-24  17:30:29] DBUG admin/admin_handle_request Admin request (/admin/metadata)
[2008-06-24  17:30:29] DBUG admin/admin_handle_request Got command (metadata)
[2008-06-24  17:30:29] INFO admin/admin_handle_request Received admin command metadata on mount "/music_change_filler"
[2008-06-24  17:30:29] DBUG admin/command_metadata Got metadata update request
[2008-06-24  17:30:29] INFO admin/command_metadata Metadata on mountpoint /music_change_filler changed to "jukebox_loading"
[2008-06-24  17:30:29] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-06-24  17:30:29] DBUG stats/modify_node_event update node clients (3)
[2008-06-24  17:30:29] DBUG stats/modify_node_event update node connections (102944)
[2008-06-24  17:30:29] DBUG stats/modify_node_event update node client_connections (102173)
[2008-06-24  17:30:29] DBUG stats/modify_node_event update node clients (2)
[2008-06-24  17:30:29] DBUG stats/modify_node_event update node title (jukebox_loading)
[2008-06-24  17:30:33] DBUG stats/modify_node_event update node total_bytes_read (1360800)
[2008-06-24  17:30:33] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2008-06-24  17:30:34] DBUG stats/modify_node_event update node total_bytes_read (22523196415)
[2008-06-24  17:30:34] DBUG stats/modify_node_event update node total_bytes_sent (372400)
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 24, 2008 7:45 pm    Post subject: Reply with quote

The stats engine could do with reporting the mountpoint as well (something for a later release), but the order you see them in the log is the order in which they are processed. The public setting under /live_mount is 0.

I cannot comment on why /replay_mount does not stay up but it does die immediately. If this is 2.3.1 then you may be seeing a lot more stats updating than is necessary.

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



Joined: 28 Mar 2008
Posts: 63

PostPosted: Wed Jun 25, 2008 7:22 pm    Post subject: trac.xiph.org Reply with quote

Hi Karl,

Thanks for your reply.

I know what is going on with /replay_mount.

When a source connects to /live_mount it calls the script /home/bcast/ezstream/botstop which stops my bot that is responsible for launching ezstream when there is no one playing on /live_mount

My bot connects to /replay_mount so that's why it does not stay up.

As far as the logging goes and requesting that the mountpoint name is included in the log lines when knows, shall I raise an enhancement request under trac.xiph.org?

Thank you.

Richard.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jun 25, 2008 8:28 pm    Post subject: Reply with quote

If you do raise it on trac then it won't get forgotten about.

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