File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
bookkeeper-server/src/main/java/org/apache/bookkeeper/client Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -956,13 +956,17 @@ private CompletableFuture<LedgerEntries> batchReadEntriesInternalAsync(long star
956956 boolean isRecoveryRead ) {
957957 int nettyMaxFrameSizeBytes = clientCtx .getConf ().nettyMaxFrameSizeBytes ;
958958 if (maxSize > nettyMaxFrameSizeBytes ) {
959- LOG .info (
960- "The max size is greater than nettyMaxFrameSizeBytes, use nettyMaxFrameSizeBytes:{} to replace it." ,
961- nettyMaxFrameSizeBytes );
959+ if (LOG .isDebugEnabled ()) {
960+ LOG .debug ("The max size is greater than nettyMaxFrameSizeBytes, "
961+ + "use nettyMaxFrameSizeBytes:{} to replace it." , nettyMaxFrameSizeBytes );
962+ }
962963 maxSize = nettyMaxFrameSizeBytes ;
963964 }
964965 if (maxSize <= 0 ) {
965- LOG .info ("The max size is negative, use nettyMaxFrameSizeBytes:{} to replace it." , nettyMaxFrameSizeBytes );
966+ if (LOG .isDebugEnabled ()) {
967+ LOG .debug ("The max size is negative, use nettyMaxFrameSizeBytes:{} to replace it." ,
968+ nettyMaxFrameSizeBytes );
969+ }
966970 maxSize = nettyMaxFrameSizeBytes ;
967971 }
968972 BatchedReadOp op = new BatchedReadOp (this , clientCtx ,
You can’t perform that action at this time.
0 commit comments