From 44add3c5255479eb0a6bdd266e53f50d11c76684 Mon Sep 17 00:00:00 2001 From: "ming.ma" Date: Tue, 24 Jan 2017 21:26:23 +0800 Subject: [PATCH] Log correct value for useCacheForAllThreads Motivation: Log about "-Dio.netty.allocator.useCacheForAllThreads" is missing log placeholder, and so can't output correct value. Modification: - Add placeholder Result: Fixes #6265 . --- .../src/main/java/io/netty/buffer/PooledByteBufAllocator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java b/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java index dcaec8a0c9..8fd3491fe0 100644 --- a/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java +++ b/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java @@ -127,7 +127,7 @@ public class PooledByteBufAllocator extends AbstractByteBufAllocator { logger.debug("-Dio.netty.allocator.normalCacheSize: {}", DEFAULT_NORMAL_CACHE_SIZE); logger.debug("-Dio.netty.allocator.maxCachedBufferCapacity: {}", DEFAULT_MAX_CACHED_BUFFER_CAPACITY); logger.debug("-Dio.netty.allocator.cacheTrimInterval: {}", DEFAULT_CACHE_TRIM_INTERVAL); - logger.debug("-Dio.netty.allocator.useCacheForAllThreads", DEFAULT_USE_CACHE_FOR_ALL_THREADS); + logger.debug("-Dio.netty.allocator.useCacheForAllThreads: {}", DEFAULT_USE_CACHE_FOR_ALL_THREADS); } }