JAL-3933 remove obsolete Castor logging configuration
authorJim Procter <j.procter@dundee.ac.uk>
Wed, 15 Dec 2021 10:38:22 +0000 (10:38 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Wed, 15 Dec 2021 10:41:30 +0000 (10:41 +0000)
src/jalview/bin/Cache.java

index aa9c030..bde6362 100755 (executable)
@@ -341,16 +341,10 @@ public class Cache
       Configurator.initialize(builder.build());
       // log output
       Logger laxis = Logger.getLogger("org.apache.axis");
-      Logger lcastor = Logger.getLogger("org.exolab.castor");
       jalview.bin.Cache.log = Logger.getLogger("jalview.bin.Jalview");
 
       laxis.setLevel(Level.toLevel(
               Cache.getDefault("logs.Axis.Level", Level.INFO.toString())));
-      lcastor.setLevel(Level.toLevel(Cache.getDefault("logs.Castor.Level",
-              Level.INFO.toString())));
-      lcastor = Logger.getLogger("org.exolab.castor.xml");
-      lcastor.setLevel(Level.toLevel(Cache.getDefault("logs.Castor.Level",
-              Level.INFO.toString())));
       // lcastor = Logger.getLogger("org.exolab.castor.xml.Marshaller");
       // lcastor.setLevel(Level.toLevel(Cache.getDefault("logs.Castor.Level",
       // Level.INFO.toString())));