Skip to content

Commit 2372eb4

Browse files
authored
Merge pull request #405 from splunk/fix-logging
fix: fix incorrect logging
2 parents a5083bd + 0d90fb6 commit 2372eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/splunk/kafka/connect/SplunkSinkTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ private void send(final EventBatch batch) {
313313
} catch (Exception ex) {
314314
batch.fail();
315315
onEventFailure(Arrays.asList(batch), ex);
316-
log.error("failed to send batch {}" ,batch.getUUID(), ex);
316+
log.error(String.format("failed to send batch %s", batch.getUUID()), ex);
317317
}
318318
}
319319

0 commit comments

Comments
 (0)