aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-email-notifications-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-15 23:32:14 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-19 12:02:10 +0100
commit7cf57c2495bd16c2e7056c0ff47fc962a8ff432f (patch)
treea4a0124029e70fbcc45d00429da495d0058b7a49 /plugins/sonar-email-notifications-plugin
parent6658f59ae96921016438eeeab136a4eb4e5703af (diff)
downloadsonarqube-7cf57c2495bd16c2e7056c0ff47fc962a8ff432f.tar.gz
sonarqube-7cf57c2495bd16c2e7056c0ff47fc962a8ff432f.zip
SONAR-5700 New logging API to remove coupling on SLF4J
Diffstat (limited to 'plugins/sonar-email-notifications-plugin')
-rw-r--r--plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationChannel.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationChannel.java b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationChannel.java
index 5ae23c21b22..a11154370cb 100644
--- a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationChannel.java
+++ b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationChannel.java
@@ -22,14 +22,14 @@ package org.sonar.plugins.emailnotifications;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.mail.EmailException;
import org.apache.commons.mail.SimpleEmail;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import org.sonar.api.config.EmailSettings;
import org.sonar.api.database.model.User;
import org.sonar.api.notifications.Notification;
import org.sonar.api.notifications.NotificationChannel;
import org.sonar.api.security.UserFinder;
import org.sonar.api.utils.SonarException;
+import org.sonar.api.utils.log.Logger;
+import org.sonar.api.utils.log.Loggers;
import org.sonar.plugins.emailnotifications.api.EmailMessage;
import org.sonar.plugins.emailnotifications.api.EmailTemplate;
@@ -48,7 +48,7 @@ import java.net.URL;
*/
public class EmailNotificationChannel extends NotificationChannel {
- private static final Logger LOG = LoggerFactory.getLogger(EmailNotificationChannel.class);
+ private static final Logger LOG = Loggers.get(EmailNotificationChannel.class);
/**
* @see org.apache.commons.mail.Email#setSocketConnectionTimeout(int)