Chen Zhi created ZOOKEEPER-3942:
-----------------------------------

             Summary: move traceMask calculation logic into the trace log guard 
in LearnerHandler
                 Key: ZOOKEEPER-3942
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3942
             Project: ZooKeeper
          Issue Type: Improvement
            Reporter: Chen Zhi


Similar to ZOOKEEPER-3708 and ZOOKEEPER-3728 in Learner,  I found two cases 
where `traceMask` calculation logic are out of trace log guard in 
LearnerHandler. The `traceMask` only matters if trace is enabled, so move the 
associated code into the logging guard. The fix is simple and I will create a 
PR later.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to