Using INFO level for migration transition state logging (#14651)

Trivial PR to use the INFO level (instead of DEBUG) for logging the state transition during the ZooKeeper to KRaft migration.
I think it's a useful information to be logged without the need for the user to increase the logging level itself.

Signed-off-by: Paolo Patierno <ppatierno@live.com>

Reviewers: Luke Chen <showuon@gmail.com>, hudeqi <1217150961@qq.com>
This commit is contained in:
Paolo Patierno 2023-10-30 10:57:26 +01:00 committed by GitHub
parent b9f2874c44
commit 0c7d1fca92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ public class KRaftMigrationDriver implements MetadataPublisher {
}
if (newState != migrationState) {
log.debug("{} transitioning from {} to {} state", nodeId, migrationState, newState);
log.info("{} transitioning from {} to {} state", nodeId, migrationState, newState);
pollTimeSupplier.reset();
wakeup();
} else {