Skip to content

Commit da1b98d

Browse files
author
Myron Scott
authored
Merge pull request #1276 from mathieucarbou/sleep
[daggy] Reduce log level and fix message
2 parents 3a55d88 + 0f800b6 commit da1b98d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tc-client/src/main/java/com/tc/object/DistributedObjectClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,13 +386,13 @@ private void openChannel(ClientMessageChannel channel) throws InterruptedExcepti
386386
DSO_LOGGER.debug("Channel open");
387387
break;
388388
} catch (final TCTimeoutException tcte) {
389-
DSO_LOGGER.info("Unable to connect to server/s {} ...sleeping for 5 sec.", serverAddresses);
389+
DSO_LOGGER.debug("Unable to connect to server/s {} ...sleeping for 1 sec.", serverAddresses);
390390
DSO_LOGGER.debug("Timeout connecting to server/s: {} {}", serverAddresses, tcte.getMessage());
391391
synchronized(clientStopped) {
392392
clientStopped.wait(1000);
393393
}
394394
} catch (final ConnectException e) {
395-
DSO_LOGGER.info("Unable to connect to server/s {} ...sleeping for 5 sec.", serverAddresses);
395+
DSO_LOGGER.debug("Unable to connect to server/s {} ...sleeping for 1 sec.", serverAddresses);
396396
DSO_LOGGER.debug("Connection refused from server/s: {} {}", serverAddresses, e.getMessage());
397397
synchronized(clientStopped) {
398398
clientStopped.wait(1000);
@@ -407,7 +407,7 @@ private void openChannel(ClientMessageChannel channel) throws InterruptedExcepti
407407
DSO_LOGGER.error(handshake.getMessage());
408408
throw new IllegalStateException(handshake.getMessage(), handshake);
409409
} catch (final IOException ioe) {
410-
DSO_LOGGER.info("Unable to connect to server/s {} ...sleeping for 5 sec.", serverAddresses);
410+
DSO_LOGGER.debug("Unable to connect to server/s {} ...sleeping for 1 sec.", serverAddresses);
411411
DSO_LOGGER.debug("IOException connecting to server/s: {} {}", serverAddresses, ioe.getMessage());
412412
synchronized(clientStopped) {
413413
clientStopped.wait(1000);

0 commit comments

Comments
 (0)