diff --git a/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ConnectionCache.java b/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ConnectionCache.java index 1ea7a1a842a..02abd330e1e 100644 --- a/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ConnectionCache.java +++ b/webclient/http1/src/main/java/io/helidon/webclient/http1/Http1ConnectionCache.java @@ -188,24 +188,24 @@ private boolean finishRequest(LinkedBlockingDeque connectio if (connectionQueue.offer(conn, QUEUE_TIMEOUT.toMillis(), TimeUnit.MILLISECONDS)) { conn.helidonSocket().idle(); // mark it as idle to stay blocked at read for closed conn detection if (LOGGER.isLoggable(DEBUG)) { - LOGGER.log(DEBUG, "[%s] client connection returned %s", - conn.channelId(), - Thread.currentThread().getName()); + LOGGER.log(DEBUG, String.format("[%s] client connection returned %s", + conn.channelId(), + Thread.currentThread().getName())); } return true; } else { if (LOGGER.isLoggable(DEBUG)) { - LOGGER.log(DEBUG, "[%s] Unable to return client connection because queue is full %s", - conn.channelId(), - Thread.currentThread().getName()); + LOGGER.log(DEBUG, String.format("[%s] Unable to return client connection because queue is full %s", + conn.channelId(), + Thread.currentThread().getName())); } } } catch (InterruptedException e) { if (LOGGER.isLoggable(DEBUG)) { - LOGGER.log(DEBUG, "[%s] Unable to return client connection due to '%s' %s", - conn.channelId(), - e.getMessage(), - Thread.currentThread().getName()); + LOGGER.log(DEBUG, String.format("[%s] Unable to return client connection due to '%s' %s", + conn.channelId(), + e.getMessage(), + Thread.currentThread().getName())); } } }