From f1fcf93d3ca77d49a00a520521a34eae00b61779 Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Fri, 26 Jul 2013 12:53:38 +0400 Subject: [PATCH] Github: fix log info level --- .../plugins/github/GithubNotifications.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/github/src/org/jetbrains/plugins/github/GithubNotifications.java b/plugins/github/src/org/jetbrains/plugins/github/GithubNotifications.java index 1f744810421e..0eecc3880188 100644 --- a/plugins/github/src/org/jetbrains/plugins/github/GithubNotifications.java +++ b/plugins/github/src/org/jetbrains/plugins/github/GithubNotifications.java @@ -44,13 +44,13 @@ public class GithubNotifications { public static void showWarning(@NotNull Project project, @NotNull String title, @NotNull String message) { Notification notification = new Notification(GITHUB_NOTIFICATION_GROUP, title, message, NotificationType.WARNING); Notificator.getInstance(project).notify(notification); - LOG.warn(title + "; " + message); + LOG.info(title + "; " + message); } public static void showError(@NotNull Project project, @NotNull String title, @NotNull String message) { Notification notification = new Notification(GITHUB_NOTIFICATION_GROUP, title, message, NotificationType.ERROR); Notificator.getInstance(project).notify(notification); - LOG.warn(title + "; " + message); + LOG.info(title + "; " + message); } public static void showError(@NotNull Project project, @NotNull String title, @NotNull String message, @NotNull String logDetails) { @@ -83,7 +83,7 @@ public class GithubNotifications { new Notification(GITHUB_NOTIFICATION_GROUP, title, prefix + "" + highlight + "" + postfix, NotificationType.WARNING, NotificationListener.URL_OPENING_LISTENER); Notificator.getInstance(project).notify(notification); - LOG.warn(title + "; " + prefix + highlight + postfix + "; " + url); + LOG.info(title + "; " + prefix + highlight + postfix + "; " + url); } public static void showErrorURL(@NotNull Project project, @@ -96,7 +96,7 @@ public class GithubNotifications { new Notification(GITHUB_NOTIFICATION_GROUP, title, prefix + "" + highlight + "" + postfix, NotificationType.ERROR, NotificationListener.URL_OPENING_LISTENER); Notificator.getInstance(project).notify(notification); - LOG.warn(title + "; " + prefix + highlight + postfix + "; " + url); + LOG.info(title + "; " + prefix + highlight + postfix + "; " + url); } public static void showInfoDialog(final @Nullable Project project, final @NotNull String title, final @NotNull String message) { @@ -106,12 +106,12 @@ public class GithubNotifications { public static void showWarningDialog(final @Nullable Project project, final @NotNull String title, final @NotNull String message) { Messages.showWarningDialog(project, message, title); - LOG.warn(title + "; " + message); + LOG.info(title + "; " + message); } public static void showErrorDialog(final @Nullable Project project, final @NotNull String title, final @NotNull String message) { Messages.showErrorDialog(project, message, title); - LOG.warn(title + "; " + message); + LOG.info(title + "; " + message); } public static void showErrorDialog(final @Nullable Project project, final @NotNull String title, final @NotNull Exception e) {