This is an automated email from the ASF dual-hosted git repository.

amichai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-rsa.git

commit 4b9d00e751a4a336c90b90fb49709398d40c410e
Author: Amichai Rothman <amic...@apache.org>
AuthorDate: Wed Nov 13 09:55:44 2019 +0200

    Fix Interest logs
---
 .../java/org/apache/aries/rsa/discovery/zookeeper/Interest.java     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/Interest.java
 
b/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/Interest.java
index 3680679..8549055 100644
--- 
a/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/Interest.java
+++ 
b/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/Interest.java
@@ -78,13 +78,15 @@ public class Interest {
 
     private void notifyEEListener(EndpointEvent event, String currentScope, 
EndpointEventListener listener) {
         EndpointDescription endpoint = event.getEndpoint();
-        LOG.info("Calling endpointchanged on class {} for filter {}, type {}, 
endpoint {} ", listener, currentScope, endpoint);
+        LOG.info("Calling endpointchanged on class {} for filter {}, type {}, 
endpoint {} ",
+            listener, currentScope, event.getType(), endpoint);
         listener.endpointChanged(event, currentScope);
     }
     
     private void notifyEListener(EndpointEvent event, String currentScope, 
EndpointListener listener) {
         EndpointDescription endpoint = event.getEndpoint();
-        LOG.info("Calling old listener on class {} for filter {}, type {}, 
endpoint {} ", listener, currentScope, endpoint);
+        LOG.info("Calling old listener on class {} for filter {}, type {}, 
endpoint {} ",
+            listener, currentScope, event.getType(), endpoint);
         switch (event.getType()) {
         case EndpointEvent.ADDED:
             listener.endpointAdded(endpoint, currentScope);

Reply via email to