From: Jim Procter Date: Fri, 26 Jun 2020 16:12:31 +0000 (+0100) Subject: JAL-3671 hardwire log4j.root logger to INFO to supress jetty and httpclient log output X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~36^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1d293bcfa2988c7fe62a48efd663074b9adb4eb3;p=jalview.git JAL-3671 hardwire log4j.root logger to INFO to supress jetty and httpclient log output --- diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index 788cb02..85d23df 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -313,6 +313,9 @@ public class Cache // lcastor = Logger.getLogger("org.exolab.castor.xml.Marshaller"); // lcastor.setLevel(Level.toLevel(Cache.getDefault("logs.Castor.Level", // Level.INFO.toString()))); + // we shouldn't need to do this + org.apache.log4j.Logger.getRootLogger().setLevel(org.apache.log4j.Level.INFO); + jalview.bin.Cache.log.setLevel(Level.toLevel(Cache .getDefault("logs.Jalview.level", Level.INFO.toString()))); // laxis.addAppender(ap);