Yuta HIGUCHI
Committed by Gerrit Code Review

ClusterMessagingProtocolClient: less log for expected exception

Change-Id: Ifac94d2dc68144f126c9c6ab2cd4aedc712a10fe
...@@ -217,10 +217,12 @@ public class ClusterMessagingProtocolClient implements ProtocolClient { ...@@ -217,10 +217,12 @@ public class ClusterMessagingProtocolClient implements ProtocolClient {
217 future.complete(verifyNotNull(SERIALIZER.decode(response))); 217 future.complete(verifyNotNull(SERIALIZER.decode(response)));
218 218
219 } catch (IOException | ExecutionException | TimeoutException e) { 219 } catch (IOException | ExecutionException | TimeoutException e) {
220 - log.warn("RPCTask for {} failed.", request, e); 220 + log.warn("RPCTask for {} failed: {}", request, e.getMessage());
221 + log.debug("RPCTask for {} failed.", request, e);
221 future.completeExceptionally(e); 222 future.completeExceptionally(e);
222 } catch (InterruptedException e) { 223 } catch (InterruptedException e) {
223 - log.warn("RPCTask for {} was interrupted.", request, e); 224 + log.warn("RPCTask for {} was interrupted: {}", request, e.getMessage());
225 + log.debug("RPCTask for {} was interrupted.", request, e);
224 future.completeExceptionally(e); 226 future.completeExceptionally(e);
225 Thread.currentThread().interrupt(); 227 Thread.currentThread().interrupt();
226 } catch (Exception e) { 228 } catch (Exception e) {
......