Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2011-02-14 11:53:44 -0500
committervladt2011-02-14 11:53:44 -0500
commit9bb87c690b618c13a36315e260a715058eeb658c (patch)
tree397dbe9279b9c261800a10ccb8be18ac636ced6a /org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration
parentfccfc7150a741a6f80c4385c3efc0c7809b2f464 (diff)
downloadm2e-core-9bb87c690b618c13a36315e260a715058eeb658c.tar.gz
m2e-core-9bb87c690b618c13a36315e260a715058eeb658c.tar.xz
m2e-core-9bb87c690b618c13a36315e260a715058eeb658c.zip
335872: Renamed org.eclipse.m2e.logging->org.eclipse.m2e.logback.configuration and org.eclipse.m2e.logging.feature->org.eclipse.m2e.logback.feature
Diffstat (limited to 'org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration')
-rw-r--r--org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml b/org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml
new file mode 100644
index 00000000..b305dae7
--- /dev/null
+++ b/org.eclipse.m2e.logback.configuration/defaultLogbackConfiguration/logback.xml
@@ -0,0 +1,40 @@
+<configuration scan="true">
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>%date [%thread] %-5level %logger{35} - %msg%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <File>${org.eclipse.m2e.log.dir}/0.log</File>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>10</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>100MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>%date [%thread] %-5level %logger{35} - %msg%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
+ <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+ <level>WARN</level>
+ </filter>
+ </appender>
+
+ <appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
+ </appender>
+
+ <root level="debug">
+ <appender-ref ref="FILE" />
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="EclipseLog" />
+ <appender-ref ref="MavenConsoleLog" />
+ </root>
+
+ <logger name="org.eclipse.jetty.http.ssl" level="INFO" />
+</configuration>

Back to the top