{
cancelledMessage += ("\nProblems cancelling the job : Exception received...\n"
+ exc + "\n");
- Cache.log.warn(
+ Cache.warn(
"Exception whilst cancelling " + jobs[job].getJobId(),
exc);
}
MsaWSJob j = (MsaWSJob) 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;
} catch (Exception e)
{
- Cache.log.warn(
+ Cache.warn(
"Exception when retrieving remaining Job progress data for job "
+ msjob.getJobId() + " on server " + WsUrl);
e.printStackTrace();
}
} while (nunchanged > 0 && nexcept > 0);
- if (Cache.log.isDebugEnabled())
+ if (Cache.isDebugEnabled())
{
System.out.println("Job Execution file for job: "
+ msjob.getJobId() + " on server " + WsUrl);
{
// job has failed for some reason - probably due to invalid
// parameters
- Cache.log.debug(
+ Cache.debug(
"Results not available for finished job - marking as broken job.",
e);
msjob.jobProgress.append(
msjob.setjobStatus(JobStatus.FAILED);
} catch (Exception e)
{
- Cache.log.error("Couldn't get Alignment for job.", e);
+ Cache.error("Couldn't get Alignment for job.", e);
// TODO: Increment count and retry ?
msjob.setjobStatus(JobStatus.UNDEFINED);
}
} catch (Exception ex)
{
- Cache.log.error(
+ Cache.error(
"Unexpected exception when processing results for " + alTitle,
ex);
wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_ERROR);