Github user anmolnar commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/561#discussion_r200987559
--- Diff:
src/java/main/org/apache/zookeeper/server/PrepRequestProcessor.java ---
@@ -878,10 +880,13 @@ protected void pRequest(Request request) throws
RequestProcessorException {
request.getHdr().setType(OpCode.error);
request.setTxn(new ErrorTxn(e.code().intValue()));
}
- LOG.info("Got user-level KeeperException when processing "
- + request.toString()
- + " Error Path:" + e.getPath()
- + " Error:" + e.getMessage());
+
+ if (e.code().intValue() > Code.APIERROR.intValue()) {
--- End diff --
Same here.
---