From: gmungoc Date: Mon, 31 Aug 2020 15:00:22 +0000 (+0100) Subject: JAL-1191 use Cache.log for logging X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~15^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d69439b11486bf6cf09e479b78f9ab94af127671;p=jalview.git JAL-1191 use Cache.log for logging --- diff --git a/src/jalview/ext/so/SequenceOntology.java b/src/jalview/ext/so/SequenceOntology.java index 89b2415..138aa58 100644 --- a/src/jalview/ext/so/SequenceOntology.java +++ b/src/jalview/ext/so/SequenceOntology.java @@ -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); } }