System.log is quite busy

Need help? Post your questions here.

Moderator: moderators

System.log is quite busy

Postby makisupa123 » Thu Jun 10, 2010 4:58 pm

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
makisupa123
 
Posts: 3
Joined: Tue Jun 08, 2010 3:29 pm

Re: System.log is quite busy

Postby Gonzo » Thu Jun 10, 2010 6:19 pm

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
User avatar
Gonzo
 
Posts: 24
Joined: Sun May 16, 2010 10:43 am

Postby makisupa123 » Thu Jun 10, 2010 7:38 pm

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
makisupa123
 
Posts: 3
Joined: Tue Jun 08, 2010 3:29 pm

Postby makisupa123 » Wed Jul 14, 2010 2:36 pm

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
makisupa123
 
Posts: 3
Joined: Tue Jun 08, 2010 3:29 pm

Postby mgrant » Wed Jul 14, 2010 5:09 pm

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
mgrant
 
Posts: 76
Joined: Mon Mar 03, 2008 1:15 am


Return to Help

Who is online

Users browsing this forum: No registered users and 35 guests