File tree 1 file changed +8
-4
lines changed
bookkeeper-server/src/main/java/org/apache/bookkeeper/client
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
956
956
boolean isRecoveryRead ) {
957
957
int nettyMaxFrameSizeBytes = clientCtx .getConf ().nettyMaxFrameSizeBytes ;
958
958
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
+ }
962
963
maxSize = nettyMaxFrameSizeBytes ;
963
964
}
964
965
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
+ }
966
970
maxSize = nettyMaxFrameSizeBytes ;
967
971
}
968
972
BatchedReadOp op = new BatchedReadOp (this , clientCtx ,
You can’t perform that action at this time.
0 commit comments