How to change loglevel in standalone version?

Need help? Post your questions here.

Moderator: moderators

How to change loglevel in standalone version?

Postby stefkoch » Thu Jun 22, 2017 1:29 am

Hi there.
How can i change the loglevel from DEBUG to lets say WARN or ERR for the standalone version?

My logfile gets entries like this which i like to filter out:
[2017-06-22 02:43:51,035] INFO VersionService - Resolved latest Subsonic final version to: 6.1.1
[2017-06-22 02:43:51,139] INFO VersionService - Resolved latest Subsonic beta version to: 6.1.beta2
[2017-06-22 02:43:53,240] DEBUG StreamController - GET /subsonic/stream?player=46&id=247223&auth=1807064476&scrobble=false, Range: bytes=0-

As i have the standalone version i do not have the file
<tomcat_home>/webapps/subsonic/WEB-INF/classes/log4j.properties but only the war, jar and sh file.

I tried to add
-Dlog4j.rootLogger=WARN, A1 \
just before the line
-jar subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &
but it did not help.
Rather than using /dev/null as $LOG i would prefer the WARN loglevel.

(Or is it because i run 6.1.beta2 (build dc75a2) – March 20, 2017 and it will go away with 6.1.1?)

Any help on how to change the loglevel would be very much appreciated.
Thanks and keep up the good work. :-)
Stefan
stefkoch
 
Posts: 2
Joined: Fri Oct 07, 2016 9:32 am

Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests