Skip to content

Commit

Permalink
Better logging for when a process starts on top of another.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Aug 7, 2014
1 parent a1bc876 commit 4d91e46
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -112,8 +112,9 @@ public ProcessInfo newProcessInfo(ProcessInfoKey key) {
if (old != null) {
if (old.getStatus() != Status.OK && old.getStatus() != Status.ERROR) {
log.warn(
"Starting a new process even though the previous one ({}) had not finished",
old.toString());
"Starting a new process even though the previous '{}' process had not finished",
old.getProcessType().toString());
log.info("Details from the previous process: {}", old.toString());
}

if (old.getCurrentBatchDataCount() > 0) {
Expand Down

0 comments on commit 4d91e46

Please sign in to comment.