git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git]
/
src
/
jalview
/
ws
/
jws1
/
SeqSearchWSThread.java
diff --git
a/src/jalview/ws/jws1/SeqSearchWSThread.java
b/src/jalview/ws/jws1/SeqSearchWSThread.java
index
761b758
..
c0dcf67
100644
(file)
--- a/
src/jalview/ws/jws1/SeqSearchWSThread.java
+++ b/
src/jalview/ws/jws1/SeqSearchWSThread.java
@@
-425,7
+425,7
@@
class SeqSearchWSThread extends JWS1Thread implements WSClientI
{
cancelledMessage += ("\nProblems cancelling the job : Exception received...\n"
+ exc + "\n");
{
cancelledMessage += ("\nProblems cancelling the job : Exception received...\n"
+ exc + "\n");
- Cache.log.warn(
+ Cache.warn(
"Exception whilst cancelling " + jobs[job].getJobId(),
exc);
}
"Exception whilst cancelling " + jobs[job].getJobId(),
exc);
}
@@
-469,9
+469,9
@@
class SeqSearchWSThread extends JWS1Thread implements WSClientI
SeqSearchWSJob j = (SeqSearchWSJob) job;
if (j.isSubmitted())
{
SeqSearchWSJob j = (SeqSearchWSJob) job;
if (j.isSubmitted())
{
- if (Cache.log.isDebugEnabled())
+ if (Cache.isDebugEnabled())
{
{
- Cache.log.debug(
+ Cache.debug(
"Tried to submit an already submitted job " + j.getJobId());
}
return;
"Tried to submit an already submitted job " + j.getJobId());
}
return;
@@
-579,7
+579,7
@@
class SeqSearchWSThread extends JWS1Thread implements WSClientI
} catch (Exception ex)
{
} catch (Exception ex)
{
- Cache.log.error(
+ Cache.error(
"Unexpected exception when processing results for " + alTitle,
ex);
wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_ERROR);
"Unexpected exception when processing results for " + alTitle,
ex);
wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_ERROR);