chia7712 commented on code in PR #21027:
URL: https://github.com/apache/kafka/pull/21027#discussion_r2609517453


##########
server-common/src/main/java/org/apache/kafka/server/share/persister/DefaultStatePersister.java:
##########
@@ -44,6 +44,21 @@ public class DefaultStatePersister implements Persister {
     private final PersisterStateManager stateManager;
 
     private static final Logger log = 
LoggerFactory.getLogger(DefaultStatePersister.class);
+    private static final Logger INITIALIZE_HANDLER_LOG = 
LoggerFactory.getLogger(

Review Comment:
   Another option is to introduce an abstract `logger` method within 
`PersisterStateManagerHandler`. This ensures that each subclass provides its 
owe dedicated logger, enabling us to initialize the logger within each class 
rather than grouping them in a single place 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to