Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2011-02-11 13:35:04 -0500
committervladt2011-02-11 13:35:41 -0500
commitd39a99400566d870349cfa502bacfbfc56a7f32f (patch)
treebe60a1cefe641163d8acf28511f452bd123efd26 /org.eclipse.m2e.logback.appender/src
parent378303c275779bf8ac1bd4c4349352c2b5d4f462 (diff)
downloadm2e-core-d39a99400566d870349cfa502bacfbfc56a7f32f.tar.gz
m2e-core-d39a99400566d870349cfa502bacfbfc56a7f32f.tar.xz
m2e-core-d39a99400566d870349cfa502bacfbfc56a7f32f.zip
335872: Configured EclipseLogAppender to log only warnings and errors
Diffstat (limited to 'org.eclipse.m2e.logback.appender/src')
-rw-r--r--org.eclipse.m2e.logback.appender/src/main/java/org/eclipse/m2e/logback/appender/EclipseLogAppender.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.m2e.logback.appender/src/main/java/org/eclipse/m2e/logback/appender/EclipseLogAppender.java b/org.eclipse.m2e.logback.appender/src/main/java/org/eclipse/m2e/logback/appender/EclipseLogAppender.java
index c1ce5dbd..ce40c7d1 100644
--- a/org.eclipse.m2e.logback.appender/src/main/java/org/eclipse/m2e/logback/appender/EclipseLogAppender.java
+++ b/org.eclipse.m2e.logback.appender/src/main/java/org/eclipse/m2e/logback/appender/EclipseLogAppender.java
@@ -34,6 +34,9 @@ public class EclipseLogAppender extends UnsynchronizedAppenderBase<ILoggingEvent
case Level.WARN_INT:
severity = IStatus.WARNING;
break;
+ case Level.INFO_INT:
+ severity = IStatus.INFO;
+ break;
default:
return;
}

Back to the top