JAL-1191 use Cache.log for logging
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 31 Aug 2020 15:00:22 +0000 (16:00 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 31 Aug 2020 15:00:22 +0000 (16:00 +0100)
src/jalview/ext/so/SequenceOntology.java

index 89b2415..138aa58 100644 (file)
@@ -115,7 +115,7 @@ public class SequenceOntology implements SequenceOntologyI
         }
       }
       long elapsed = System.currentTimeMillis() - now;
-      System.out.println("Loaded Sequence Ontology from " + zipFile + " ("
+      Cache.log.info("Loaded Sequence Ontology from " + zipFile + " ("
               + elapsed + "ms)");
     } catch (Exception e)
     {
@@ -337,7 +337,7 @@ public class SequenceOntology implements SequenceOntologyI
     {
       if (!termsNotFound.contains(term))
       {
-        System.err.println("SO term " + term + " invalid");
+        Cache.log.error("SO term " + term + " invalid");
         termsNotFound.add(term);
       }
     }