StatusReporter log messages should include job ID

Original commit: elastic/x-pack-elasticsearch@841af87535
This commit is contained in:
David Roberts 2016-11-25 10:16:46 +00:00
parent 7fe64bed59
commit ba8b60818f
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ public class StatusReporter extends AbstractComponent {
}
String status = String.format(Locale.ROOT,
"%d records written to autodetect; missingFieldCount=%d, invalidDateCount=%d, outOfOrderCount=%d",
"[%s] %d records written to autodetect; missingFieldCount=%d, invalidDateCount=%d, outOfOrderCount=%d", jobId,
getProcessedRecordCount(), getMissingFieldErrorCount(), getDateParseErrorsCount(), getOutOfOrderRecordCount());
logger.info(status);