[ https://issues.apache.org/jira/browse/ZOOKEEPER-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002326#comment-17002326 ]
Rabi Kumar K C commented on ZOOKEEPER-3659: ------------------------------------------- Hi [~maoling] For this I think we can pass a parameter in WatchManagerFactory.createWatchManager(String watches) then use that in LOG of WatchManagerFactory. Do you think this is ok?? If yes then I will make the necessary changes and create a PR for the same. Please do let me know your thoughts on this. > make the WatchManagerFactory log more readable > ---------------------------------------------- > > Key: ZOOKEEPER-3659 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3659 > Project: ZooKeeper > Issue Type: Improvement > Components: server > Reporter: maoling > Priority: Minor > > {code:java} > 2019-12-19 20:28:58,854 [myid:] - INFO [main:WatchManagerFactory@42] - Using > org.apache.zookeeper.server.watch.WatchManager as watch manager > 2019-12-19 20:28:58,854 [myid:] - INFO [main:WatchManagerFactory@42] - Using > org.apache.zookeeper.server.watch.WatchManager as watch manager{code} > the logs looks unclear, seems like duplicated log. What we want is: > {code:java} > 2019-12-19 20:28:58,854 [myid:] - INFO [main:WatchManagerFactory@42] - > dataWatches is using org.apache.zookeeper.server.watch.WatchManager as watch > manager > 2019-12-19 20:28:58,854 [myid:] - INFO [main:WatchManagerFactory@42] - > childWatches is using org.apache.zookeeper.server.watch.WatchManager as watch > manager > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)