zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eribeiro <...@git.apache.org>
Subject [GitHub] zookeeper pull request #307: ZOOKEEPER-2770 ZooKeeper slow operation log
Date Thu, 13 Jul 2017 03:26:33 GMT
Github user eribeiro commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/307#discussion_r127110615
  
    --- Diff: src/java/main/org/apache/zookeeper/server/Request.java ---
    @@ -21,20 +21,27 @@
     import java.nio.ByteBuffer;
     import java.util.List;
     
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
     import org.apache.jute.Record;
     import org.apache.zookeeper.KeeperException;
     import org.apache.zookeeper.ZooDefs.OpCode;
     import org.apache.zookeeper.common.Time;
     import org.apache.zookeeper.data.Id;
    +import org.apache.zookeeper.server.quorum.QuorumPeerConfig;
     import org.apache.zookeeper.server.quorum.flexible.QuorumVerifier;
     import org.apache.zookeeper.txn.TxnHeader;
     
    +
     /**
      * This is the structure that represents a request moving through a chain of
      * RequestProcessors. There are various pieces of information that is tacked
      * onto the request as it is processed.
      */
     public class Request {
    +    private static final Logger LOG = LoggerFactory
    +            .getLogger(Request.class);
    --- End diff --
    
    No need to break line here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message