X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws1%2FMsaWSThread.java;h=e0270389b9a07bc8307ad04369626ed20362db0b;hb=b49b2c492b12792c63178d195a7b14b8b9c8efa9;hp=006f014e918dabeed6f28f3d0de13917fe83907d;hpb=3d0101179759ef157b088ea135423cd909512d9f;p=jalview.git diff --git a/src/jalview/ws/jws1/MsaWSThread.java b/src/jalview/ws/jws1/MsaWSThread.java index 006f014..e027038 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; @@ -410,7 +410,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); } @@ -453,9 +453,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; @@ -542,7 +542,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()); @@ -571,7 +571,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);