add more info to copycat timeout log
Change-Id: I713caf37b3ca99c3b7319be35cb8eb03fb3c27d4
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -132,8 +132,8 @@ public class ClusterMessagingProtocolClient implements ProtocolClient { | ... | @@ -132,8 +132,8 @@ public class ClusterMessagingProtocolClient implements ProtocolClient { |
132 | } catch (IOException | InterruptedException | ExecutionException | TimeoutException e) { | 132 | } catch (IOException | InterruptedException | ExecutionException | TimeoutException e) { |
133 | if (message.subject().equals(ClusterMessagingProtocol.COPYCAT_SYNC) || | 133 | if (message.subject().equals(ClusterMessagingProtocol.COPYCAT_SYNC) || |
134 | message.subject().equals(ClusterMessagingProtocol.COPYCAT_PING)) { | 134 | message.subject().equals(ClusterMessagingProtocol.COPYCAT_PING)) { |
135 | - log.warn("Request to {} failed. Will retry " | 135 | + log.warn("{} Request to {} failed. Will retry in {} ms", |
136 | - + "in {} ms", remoteNode, RETRY_INTERVAL_MILLIS); | 136 | + message.subject(), remoteNode, RETRY_INTERVAL_MILLIS); |
137 | THREAD_POOL.schedule( | 137 | THREAD_POOL.schedule( |
138 | this, | 138 | this, |
139 | RETRY_INTERVAL_MILLIS, | 139 | RETRY_INTERVAL_MILLIS, | ... | ... |
-
Please register or login to post a comment