mirror of https://github.com/apache/kafka.git
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 #3414 from mjsax/hotfix-commit-logging
This commit is contained in:
parent
6d2fbfc911
commit
4baca9172d
|
@ -772,7 +772,7 @@ public class StreamThread extends Thread {
|
|||
|
||||
if (commitTimeMs >= 0 && lastCommitMs + commitTimeMs < now) {
|
||||
|
||||
log.info("{} Committing all active tasks {} and standby tasks {} because the commit interval {}ms has elapsed by {}ms",
|
||||
log.debug("{} Committing all active tasks {} and standby tasks {} because the commit interval {}ms has elapsed by {}ms",
|
||||
logPrefix, activeTasks.keySet(), standbyTasks.keySet(), commitTimeMs, now - lastCommitMs);
|
||||
|
||||
commitAll();
|
||||
|
@ -810,7 +810,7 @@ public class StreamThread extends Thread {
|
|||
* Commit the state of a task
|
||||
*/
|
||||
private void commitOne(final AbstractTask task) {
|
||||
log.info("{} Committing task {} {}", logPrefix, task.getClass().getSimpleName(), task.id());
|
||||
log.trace("{} Committing {} {}", logPrefix, task.getClass().getSimpleName(), task.id());
|
||||
try {
|
||||
task.commit();
|
||||
} catch (final CommitFailedException e) {
|
||||
|
|
Loading…
Reference in New Issue