aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java b/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java
index 7621940..7932018 100644
--- a/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java
+++ b/src/net/java/sip/communicator/impl/notification/NotificationServiceImpl.java
@@ -182,7 +182,8 @@ public class NotificationServiceImpl
String actionDescriptor,
String defaultMessage)
{
- logger.debug("Registering event " + eventType + "/" +
+ if (logger.isDebugEnabled())
+ logger.debug("Registering event " + eventType + "/" +
actionType + "/" + actionDescriptor + "/" + defaultMessage);
if (actionType.equals(NotificationService.ACTION_SOUND))
@@ -756,7 +757,8 @@ public class NotificationServiceImpl
private void fireNotificationEventTypeEvent(String eventType,
String sourceEventType)
{
- logger.debug("Dispatching NotificationEventType Change. Listeners="
+ if (logger.isDebugEnabled())
+ logger.debug("Dispatching NotificationEventType Change. Listeners="
+ changeListeners.size()
+ " evt=" + eventType);
@@ -956,7 +958,8 @@ public class NotificationServiceImpl
String actionDescriptor,
String defaultMessage)
{
- logger.debug("Registering default event " + eventType + "/" +
+ if (logger.isDebugEnabled())
+ logger.debug("Registering default event " + eventType + "/" +
actionType + "/" + actionDescriptor + "/" + defaultMessage);
if(isDefault(eventType, actionType))