Skip to content

Commit

Permalink
logger actually returned number of application types, not job types (l…
Browse files Browse the repository at this point in the history
…inkedin#169)

* logger actually returned number of application types, not job types

* also log the appType size
  • Loading branch information
Clemens Valiente authored and akshayrai committed Dec 12, 2016
1 parent 08377da commit 5f056c1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ private void parseJobTypeConfiguration(Element configuration) {
}
}

logger.info("Loaded total " + _appTypeToJobTypeList.size() + " job types.");
Integer jobTypesSize = 0;
for (List<JobType> jobTypes : _appTypeToJobTypeList.values() ) {
jobTypesSize += jobTypes.size();
}
logger.info("Loaded total " + jobTypesSize + " job types for " + _appTypeToJobTypeList.size() + " app types");
}

private List<JobType> getJobTypeList(ApplicationType appType) {
Expand Down

0 comments on commit 5f056c1

Please sign in to comment.