Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reduce log verbosity when AnycastAddress has one member

  • Loading branch information...
commit a25bd1bfb93df986bfcb60ff87ff601e47390a45 1 parent e59051f
@pruivo pruivo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/org/jgroups/protocols/tom/TOA.java
View
4 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());
Please sign in to comment.
Something went wrong with that request. Please try again.