@@ -188,24 +188,24 @@ private boolean finishRequest(LinkedBlockingDeque<TcpClientConnection> connectio
188
188
if (connectionQueue .offer (conn , QUEUE_TIMEOUT .toMillis (), TimeUnit .MILLISECONDS )) {
189
189
conn .helidonSocket ().idle (); // mark it as idle to stay blocked at read for closed conn detection
190
190
if (LOGGER .isLoggable (DEBUG )) {
191
- LOGGER .log (DEBUG , "[%s] client connection returned %s" ,
192
- conn .channelId (),
193
- Thread .currentThread ().getName ());
191
+ LOGGER .log (DEBUG , String . format ( "[%s] client connection returned %s" ,
192
+ conn .channelId (),
193
+ Thread .currentThread ().getName () ));
194
194
}
195
195
return true ;
196
196
} else {
197
197
if (LOGGER .isLoggable (DEBUG )) {
198
- LOGGER .log (DEBUG , "[%s] Unable to return client connection because queue is full %s" ,
199
- conn .channelId (),
200
- Thread .currentThread ().getName ());
198
+ LOGGER .log (DEBUG , String . format ( "[%s] Unable to return client connection because queue is full %s" ,
199
+ conn .channelId (),
200
+ Thread .currentThread ().getName () ));
201
201
}
202
202
}
203
203
} catch (InterruptedException e ) {
204
204
if (LOGGER .isLoggable (DEBUG )) {
205
- LOGGER .log (DEBUG , "[%s] Unable to return client connection due to '%s' %s" ,
206
- conn .channelId (),
207
- e .getMessage (),
208
- Thread .currentThread ().getName ());
205
+ LOGGER .log (DEBUG , String . format ( "[%s] Unable to return client connection due to '%s' %s" ,
206
+ conn .channelId (),
207
+ e .getMessage (),
208
+ Thread .currentThread ().getName () ));
209
209
}
210
210
}
211
211
}
0 commit comments