diff --git a/src/main/java/hudson/remoting/Request.java b/src/main/java/hudson/remoting/Request.java index e2be7092f..aac12fb01 100644 --- a/src/main/java/hudson/remoting/Request.java +++ b/src/main/java/hudson/remoting/Request.java @@ -393,7 +393,7 @@ public void run() { // this means the caller will block forever if (e instanceof ChannelClosedException && !logger.isLoggable(Level.FINE)) { // TODO if this is from CloseCommand reduce level to FINE - logger.log(Level.INFO, "Failed to send back a reply to the request {0}: {1}", new Object[] {Request.this, e}); + logger.info(() -> "Failed to send back a reply to the request " + Request.this + ": " + e); } else { logger.log(Level.WARNING, e, () -> "Failed to send back a reply to the request " + Request.this); }