X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws1%2FMsaWSThread.java;h=97efe9f90f5c65e3e22e286192f46282277599fe;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=7b3df828524ea03ac834f98a6daa19ab2971d5c4;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/src/jalview/ws/jws1/MsaWSThread.java b/src/jalview/ws/jws1/MsaWSThread.java index 7b3df82..97efe9f 100644 --- a/src/jalview/ws/jws1/MsaWSThread.java +++ b/src/jalview/ws/jws1/MsaWSThread.java @@ -21,7 +21,7 @@ package jalview.ws.jws1; import jalview.analysis.AlignSeq; -import jalview.bin.Cache; +import jalview.bin.Console; import jalview.datamodel.Alignment; import jalview.datamodel.AlignmentI; import jalview.datamodel.AlignmentOrder; @@ -407,7 +407,7 @@ class MsaWSThread extends JWS1Thread implements WSClientI { cancelledMessage += ("\nProblems cancelling the job : Exception received...\n" + exc + "\n"); - Cache.log.warn( + Console.warn( "Exception whilst cancelling " + jobs[job].getJobId(), exc); } @@ -450,9 +450,9 @@ class MsaWSThread extends JWS1Thread implements WSClientI MsaWSJob j = (MsaWSJob) job; if (j.isSubmitted()) { - if (Cache.log.isDebugEnabled()) + if (Console.isDebugEnabled()) { - Cache.log.debug( + Console.debug( "Tried to submit an already submitted job " + j.getJobId()); } return; @@ -539,7 +539,7 @@ class MsaWSThread extends JWS1Thread implements WSClientI && jobs[j].hasResults()) { results++; - // if (Cache.log.isDebugEnabled()) + // if (Cache.isDebugEnabled()) // { // System.out.println("Job lob for job // "+jobs[j].getJobId()+":"+jobs[j].getJobnum()); @@ -568,7 +568,7 @@ class MsaWSThread extends JWS1Thread implements WSClientI } catch (Exception ex) { - Cache.log.error( + Console.error( "Unexpected exception when processing results for " + alTitle, ex); wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_ERROR);