I'm running Icecast in a Windows 32 bit environment. The icecast.xml path points to C:\Program Files\Icecast\log for <logdir>. <logging><loglevel> is set to 3. However, no logs are created at that location. :( Thanks for any leads. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20191229/189bcefd/attachment.html>
I’m not an expert, and I’m on a Pi, but this works for me... <paths> <logdir> /home/pi/icecast2/logs</logdir> </paths> <loglevel>4</loglevel> Save a blank error.log text file in the location. -Pete> On Dec 29, 2019, at 1:51 PM, Dan Packard <contact at kusaradio.com> wrote: > > > I'm running Icecast in a Windows 32 bit environment. The icecast.xml path points to C:\Program Files\Icecast\log for <logdir>. <logging><loglevel> is set to 3. > > However, no logs are created at that location. :( > > Thanks for any leads. > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
webmaster at berean-biblechurch.org
2020-Jan-01 00:53 UTC
[Icecast] Win32 - log not created
It is probably because of UAC. You'll have to run Icecast as admin or install to a location outside of "Program Files" (e.g., c:\icecast). On 2019-12-29 12:50, Dan Packard wrote:> I'm running Icecast in a Windows 32 bit environment. The icecast.xml path points to C:\Program Files\Icecast\log for <logdir>. <logging><loglevel> is set to 3. > > However, no logs are created at that location. :( > > Thanks for any leads. > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20191231/aa6c0920/attachment.html>
I found the problem. Windows User Account Control (UAC) in Windows Vista.>From Wiki (https://en.wikipedia.org/wiki/User_Account_Control) :=====>". . . if an application attempts to write to a directory such as "C:\Program Files\appname\settings.ini" to which the user does not have write permission, the write will be redirected to "C:\Users\username\AppData\Local\VirtualStore\Program Files\appname\settings.ini" <======= I looked in C:\Users\username\AppData\Local\VirtualStore\Program Files\icecast\logs and found the created logs by Icecast. The other solution is to disable Windows UAC and then run Icecast with administrator privileges, which can successfully write the log files to C:\Program Files\Icecast\log. On Sun, Dec 29, 2019 at 11:21 AM Rondejavu <rondejavu at gmail.com> wrote:> I’m not an expert, and I’m on a Pi, but this works for me... > > <paths> > <logdir> /home/pi/icecast2/logs</logdir> > </paths> > <loglevel>4</loglevel> > > Save a blank error.log text file in the location. > > -Pete > > > On Dec 29, 2019, at 1:51 PM, Dan Packard <contact at kusaradio.com> wrote: > > > > > > I'm running Icecast in a Windows 32 bit environment. The icecast.xml > path points to C:\Program Files\Icecast\log for <logdir>. > <logging><loglevel> is set to 3. > > > > However, no logs are created at that location. :( > > > > Thanks for any leads. > > _______________________________________________ > > Icecast mailing list > > Icecast at xiph.org > > http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20191231/52cee1bd/attachment.html>