| View previous topic :: View next topic |
| Author |
Message |
stu87
Joined: 14 Jun 2011 Posts: 4
|
Posted: Tue Jun 14, 2011 3:22 pm Post subject: Mount specific logging |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jun 14, 2011 5:54 pm Post subject: |
|
|
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 |
|
 |
maaad999
Joined: 27 Apr 2010 Posts: 3
|
Posted: Wed Jun 15, 2011 12:18 pm Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jun 15, 2011 1:25 pm Post subject: |
|
|
try adding a / so you have
<mount-name>/stream1.mp3</mount-name>
karl. |
|
| Back to top |
|
 |
|