Skip to content

Commit f4ac58a

Browse files
mjsaxijuma
authored andcommitted
HOTFIX: reduce log verbosity on commit
Author: Matthias J. Sax <matthias@confluent.io> Reviewers: Bill Bejeck <bbejeck@gmail.com>, Eno Thereska <eno.thereska@gmail.com>, Ismael Juma <ismael@juma.me.uk> Closes apache#3414 from mjsax/hotfix-commit-logging (cherry picked from commit 4baca91) Signed-off-by: Ismael Juma <ismael@juma.me.uk>
1 parent c0033b0 commit f4ac58a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ protected void maybeCommit(final long now) {
772772

773773
if (commitTimeMs >= 0 && lastCommitMs + commitTimeMs < now) {
774774

775-
log.info("{} Committing all active tasks {} and standby tasks {} because the commit interval {}ms has elapsed by {}ms",
775+
log.debug("{} Committing all active tasks {} and standby tasks {} because the commit interval {}ms has elapsed by {}ms",
776776
logPrefix, activeTasks.keySet(), standbyTasks.keySet(), commitTimeMs, now - lastCommitMs);
777777

778778
commitAll();
@@ -810,7 +810,7 @@ public void apply(final StreamTask task) {
810810
* Commit the state of a task
811811
*/
812812
private void commitOne(final AbstractTask task) {
813-
log.info("{} Committing task {} {}", logPrefix, task.getClass().getSimpleName(), task.id());
813+
log.trace("{} Committing {} {}", logPrefix, task.getClass().getSimpleName(), task.id());
814814
try {
815815
task.commit();
816816
} catch (final CommitFailedException e) {

0 commit comments

Comments
 (0)