if (logger.isDebugEnabled() && debugAgent()) {
if (logger.isInfoEnabled() && debugAgent()) {
  private boolean inTheOutage(long leftEdge, long rightEdge, Task task) {    long commitTime = task.getCommitmentDate().getTime();    if (logger.isDebugEnabled() && debugAgent()) {      if (isPrediction(task))        logger.debug("Prediction ");      logger.debug(" task commitment date is: " + task.getCommitmentDate() + " in the outage? " +                   new Date(leftEdge) + " - " + new Date(rightEdge));    }    return  (commitTime > leftEdge && commitTime < rightEdge);  }