Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2011-03-10 13:30:35 -0500
committervladt2011-03-10 13:31:34 -0500
commitb37f2a1a8337a0ce0cfe094acd397bdffe87a070 (patch)
treeb9f3822abe3e337169b7fc581020b077fa1e2687 /org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration
parent88c1c7315bd943ed990fb503cfcd8de69eb0b214 (diff)
downloadm2e-core-b37f2a1a8337a0ce0cfe094acd397bdffe87a070.tar.gz
m2e-core-b37f2a1a8337a0ce0cfe094acd397bdffe87a070.tar.xz
m2e-core-b37f2a1a8337a0ce0cfe094acd397bdffe87a070.zip
339567: Log to console only if -consoleLog was passed as arg to eclipse
Diffstat (limited to 'org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration')
-rw-r--r--org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml b/org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml
index d4f09c2c..d086c568 100644
--- a/org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml
+++ b/org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml
@@ -3,6 +3,7 @@
<layout class="ch.qos.logback.classic.PatternLayout">
<Pattern>%date [%thread] %-5level %logger{35} - %msg%n</Pattern>
</layout>
+ <filter class="org.eclipse.m2e.logback.appender.ConsoleAppenderFilter"/>
</appender>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">

Back to the top