Skip to content

Commit 1a3a30e

Browse files
authored
Merge pull request #51 from topcoder-platform/dev-maven
change logging
2 parents a9221b2 + 7c8037b commit 1a3a30e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/com/topcoder/management/phase/autopilot/AutoPilot.java

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public AutoPilotResult[] advanceProjects(String operator) throws AutoPilotSource
128128
}
129129

130130
long[] projIds = autoPilotSource.getProjectIds();
131+
log.info(String.format("Found %d active projects", projIds.length));
131132
return advanceProjects(projIds, operator);
132133
}
133134

src/main/java/com/topcoder/management/phase/autopilot/AutoPilotUtility.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ private static void dealPoll(CommandLineUtility clu, ApplicationContext context,
296296
}
297297
ses.scheduleWithFixedDelay(() -> {
298298
AutoPilotResult[] result = context.getBean(AutoPilotJob.class).execute();
299-
printResult(result);
299+
// printResult(result);
300+
log.info(String.format("Processed %d projects", result.length));
300301
}, 0, interval, TimeUnit.MINUTES);
301302
}
302303

0 commit comments

Comments
 (0)