diff options
author | Damian Minkov <damencho@jitsi.org> | 2014-12-08 10:02:55 +0200 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2014-12-08 18:58:49 +0200 |
commit | 5e624740304b30f70ba34f339cf268b62d7a8042 (patch) | |
tree | 41300319f3b6f9e76b5a48883aa3526f847bd89d /src/net/java/sip/communicator/service | |
parent | 4a17fc226794bfaf5768fe6c01bcc7ba31abda1b (diff) | |
download | jitsi-5e624740304b30f70ba34f339cf268b62d7a8042.zip jitsi-5e624740304b30f70ba34f339cf268b62d7a8042.tar.gz jitsi-5e624740304b30f70ba34f339cf268b62d7a8042.tar.bz2 |
Adds debug messages.
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r-- | src/net/java/sip/communicator/service/protocol/AbstractCallPeer.java | 5 | ||||
-rw-r--r-- | src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetBasicTelephony.java | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/AbstractCallPeer.java b/src/net/java/sip/communicator/service/protocol/AbstractCallPeer.java index b657ff9..70e7236 100644 --- a/src/net/java/sip/communicator/service/protocol/AbstractCallPeer.java +++ b/src/net/java/sip/communicator/service/protocol/AbstractCallPeer.java @@ -391,6 +391,11 @@ public abstract class AbstractCallPeer<T extends Call, { CallPeerListener listener = listeners.next(); + if (logger.isDebugEnabled()) + logger.debug("Dispatching a CallPeerChangeEvent event to " + + listener.getClass() + +" . event is: " + evt.toString()); + // catch any possible errors, so we are sure we dispatch events // to all listeners try diff --git a/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetBasicTelephony.java b/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetBasicTelephony.java index 1a63df9..f41ddaf 100644 --- a/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetBasicTelephony.java +++ b/src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetBasicTelephony.java @@ -171,6 +171,11 @@ public abstract class AbstractOperationSetBasicTelephony for (CallListener listener : listeners) { + if (logger.isDebugEnabled()) + logger.debug( + "Dispatching a CallEvent to " + + listener.getClass() + " . The event is: "+ event); + switch (eventID) { case CallEvent.CALL_INITIATED: |