From 513a832d7d535fba0eb2776bd60bfaac8c58e0cd Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 26 Jun 2020 17:12:31 +0100 Subject: [PATCH] JAL-3671 hardwire log4j.root logger to INFO to supress jetty and httpclient log output --- src/jalview/bin/Cache.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index 09004f4..3208a36 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -328,6 +328,9 @@ public class Cache implements ApplicationSingletonI // 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); -- 1.7.10.2