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 

Mount specific logging

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



Joined: 14 Jun 2011
Posts: 4

PostPosted: Tue Jun 14, 2011 3:22 pm    Post subject: Mount specific logging Reply with quote

Hi all

I have installed Icecast2_3_2_kh29 and have a variety of mountpoints set up which are relays from another icecast server. I have seen that you can do per-mount access log.

Can you provide me with the specific settings i need to put inside the icecast.xml for each relay to get this working? I have tried putting <accesslog> <name>/stream1.log</name></accesslog> and this doesn't work. It would be great if i could specify which folder it goes into so i would set up a folder for each mountpoint and then have all their access logs in that folder.

Thank you for all your help 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 14, 2011 5:54 pm    Post subject: Reply with quote

I suspect you have that setting in the <relay> section when it should be in the <mount> section. It's in the mount section because the setting can apply to either relays or source clients. You can specify a path, it's just relative to logdir.

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



Joined: 27 Apr 2010
Posts: 3

PostPosted: Wed Jun 15, 2011 12:18 pm    Post subject: Reply with quote

Hi Karl

We have the mount set up as follows for this mount level logging:
<mount>
<mount-name>stream1.mp3</mount-name>
<accesslog><name>/stream1.log</name></accesslog>
</mount>

When loading the config I do get a file created - yet nothing writes into it - it just stays blank.

Any suggestions why? There are no errors in the log for this.
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 15, 2011 1:25 pm    Post subject: Reply with quote

try adding a / so you have

<mount-name>/stream1.mp3</mount-name>

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