Better logging for taskLockBox (#5703)

This commit is contained in:
Jihoon Son 2018-04-28 21:08:10 -07:00 committed by Slim Bouguerra
parent 513fab77d9
commit 23dc0d5b24
1 changed files with 8 additions and 1 deletions

View File

@ -392,7 +392,14 @@ public class TaskLockbox
priority
);
} else {
log.info("Cannot create a new taskLockPosse because some locks of same or higher priorities exist");
log.info(
"Cannot create a new taskLockPosse for task[%s] and interval[%s] with priority[%d]"
+ " because existing locks[%s] have same or higher priorities",
task.getId(),
interval,
priority,
foundPosses
);
return null;
}
}