Page 1 of 1

System.log is quite busy

PostPosted: Thu Jun 10, 2010 4:58 pm
by makisupa123
Searched the forum and found a thread where this is mentioned but the issue appeared to be elsewhere. Running the most current 4.0 beta 2 on OSX (Snow Leopard). I used the installer. System.log repeats this message every couple of seconds while subsonic is running:

Jun 10 12:54:14 home [0x0-0x75075].net.sourceforge.subsonic[1858]: 186364633 [btpool0-549] INFO org.directwebremoting.impl.DefaultRemoter - Exec: nowPlayingService.getNowPlayingForCurrentPlayer()

Obviously the timestamp and PID vary (if I killed it and started it again). Functionality seems to be fine (issue with m4a and downsampling but that's just due to lame not able to handle this file type and 4.0 beta 2 streaming them natively sans transcode -- I believe -- bu that's another issue).

Its just an INFO message so I'm guessing there is nothing actually wrong. Can I change log verbosity so get these out of system.log? If so, how?

Thanks all,
GREAT piece of software,
Mak

Re: System.log is quite busy

PostPosted: Thu Jun 10, 2010 6:19 pm
by Gonzo
makisupa123 wrote:Searched the forum and found a thread where this is mentioned but the issue appeared to be elsewhere. Running the most current 4.0 beta 2 on OSX (Snow Leopard). I used the installer. System.log repeats this message every couple of seconds while subsonic is running:


Try using the most current version, 4.0.1

http://www.subsonic.org/pages/download.jsp

PostPosted: Thu Jun 10, 2010 7:38 pm
by makisupa123
I was mistaken. I am using the most current version.

Second observation: This only happens when someone is using the web interface (most interesting).

--Mak

PostPosted: Wed Jul 14, 2010 2:36 pm
by makisupa123
Several views but no one has had anything to say.

1. Anyone running this on OSX seeing similar behavior?

2. Surely someone knows how to redirect the logging or change its verbosity. Anyone?

There is nothing in /Library/Application Support/Subsonic/subsonic.properties that appears to be related. I've searched around in the .app as well but I haven't found anything. Could this be a setting with the JVM being used?

Thanks,
Mak

PostPosted: Wed Jul 14, 2010 5:09 pm
by mgrant
I'm no developer but I've had a look at the Logger.java.svn-base and it appears that logging is hardcoded to go to <subsonic.home>\subsonic.log.

So, a normal windows install will log to c:\subsonic\subsonic.log and a normal non-windows install will log to /var/subsonic/subsonic.log.

You CAN change the subsonic.home. How you do it depends on which variation of subsonic you're using (tomcat, standalone, etc.) Check the forums, it's been discussed recently.

You cannot (without modifying the source and rebuilding) change the log filename "subsonic.log".

It also appears that the log is hardcoded to log DEBUG, INFO, WARN and ERROR entries. This too cannot be changed without modifying the code.

-mg