Invoke method(s) only conditionally
@@ -2155,8 +2155,10 @@ final class TDSChannel {
logMsg.append("\r\n");
}
+ if (packetLogger.isLoggable(Level.FINEST)) {
packetLogger.finest(logMsg.toString());
}
+ }
/**
* Get the current socket SO_TIMEOUT value.
