diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BitConnectionConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BitConnectionConfig.java index 7d9ebec4caf..4f49993a955 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BitConnectionConfig.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BitConnectionConfig.java @@ -68,8 +68,9 @@ protected BitConnectionConfig(BufferAllocator allocator, BootStrapContext contex "bit.encryption.sasl.max_wrapped_size. Must be a positive integer in bytes with a recommended max value " + "of %s", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE)); } else if (maxWrappedSize > RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE) { - logger.warn("The configured value of bit.encryption.sasl.max_wrapped_size is too big. This may cause higher" + - " memory pressure. [Details: Recommended max value is %s]", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE); + logger.warn("The configured value of bit.encryption.sasl.max_wrapped_size: {} is too big. This may cause " + + "higher memory pressure. [Details: Recommended max value is {}]", + maxWrappedSize, RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE); } encryptionContext.setMaxWrappedSize(maxWrappedSize); diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserConnectionConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserConnectionConfig.java index 64ac6be53a4..57ad4d51bc5 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserConnectionConfig.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserConnectionConfig.java @@ -61,8 +61,9 @@ class UserConnectionConfig extends AbstractConnectionConfig { "user.encryption.sasl.max_wrapped_size. Must be a positive integer in bytes with a recommended max value " + "of %s", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE)); } else if (maxWrappedSize > RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE) { - logger.warn("The configured value of user.encryption.sasl.max_wrapped_size is too big. This may cause higher" + - " memory pressure. [Details: Recommended max value is %s]", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE); + logger.warn("The configured value of user.encryption.sasl.max_wrapped_size: {} is too big. This may cause " + + "higher memory pressure. [Details: Recommended max value is {}]", + maxWrappedSize, RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE); } encryptionContext.setMaxWrappedSize(maxWrappedSize);