Improve CSS logs
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / config / BGPClusterSingletonService.java
index fcf3dbaebce0f89827c9a08b58d62bde26d13364..ab143eaae52a3cca8b2c62fc7eba621f89d38fa8 100644 (file)
@@ -269,7 +269,7 @@ public final class BGPClusterSingletonService implements ClusterSingletonService
 
         final Optional<String> peerGroupName= getPeerGroupName(neighbor.getConfig());
         peerGroupName.ifPresent(s -> this.peersGroups.computeIfAbsent(s, k -> new ArrayList<>()).add(bgpPeer));
-        LOG.debug("Peer instance created {}", bgpPeer);
+        LOG.debug("Peer instance created {}", neighbor.key().getNeighborAddress());
     }
 
     private static Optional<String> getPeerGroupName(final Config config) {