Permalink
Browse files

Reduce log verbosity when AnycastAddress has one member

  • Loading branch information...
1 parent e59051f commit a25bd1bfb93df986bfcb60ff87ff601e47390a45 @pruivo pruivo committed Feb 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/org/jgroups/protocols/tom/TOA.java
@@ -217,8 +217,8 @@ private void sendTotalOrderAnycastMessage(Collection<Address> destinations, Mess
}
if (destinations.size() == 1) {
- if (warn) {
- log.warn("sending an AnycastAddress with 1 element");
+ if (log.isDebugEnabled()) {
+ log.debug("sending an AnycastAddress with 1 element");
}
message.putHeader(id, ToaHeader.createSingleDestinationHeader());
message.setDest(destinations.iterator().next());

0 comments on commit a25bd1b

Please sign in to comment.