Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Powell2010-10-18 11:28:38 -0400
committerSteve Powell2010-10-18 11:28:38 -0400
commitbb4162659936b55f54a5e1bdd84dbabfb594b66a (patch)
tree8591398db370b6fa97d8ebceb441e8f7d51d9bd3
parentb3203c0bb828e248252e107435e9be5032c6ed78 (diff)
downloadorg.eclipse.virgo.medic-bb4162659936b55f54a5e1bdd84dbabfb594b66a.tar.gz
org.eclipse.virgo.medic-bb4162659936b55f54a5e1bdd84dbabfb594b66a.tar.xz
org.eclipse.virgo.medic-bb4162659936b55f54a5e1bdd84dbabfb594b66a.zip
Bug 328047 - Remove last remaining refs to PatternLayout in logback config in medic and user-guide
-rw-r--r--org.eclipse.virgo.medic.core/src/test/resources/logback-test.xml24
-rw-r--r--org.eclipse.virgo.medic.core/src/test/resources/logback.xml4
2 files changed, 14 insertions, 14 deletions
diff --git a/org.eclipse.virgo.medic.core/src/test/resources/logback-test.xml b/org.eclipse.virgo.medic.core/src/test/resources/logback-test.xml
index c14b954..ce1fca9 100644
--- a/org.eclipse.virgo.medic.core/src/test/resources/logback-test.xml
+++ b/org.eclipse.virgo.medic.core/src/test/resources/logback-test.xml
@@ -2,17 +2,17 @@
<root level="debug"/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
- </layout>
+ </encoder>
</appender>
<logger name="org.eclipse.virgo.medic.eventlog.localized">
<appender-ref ref="STDOUT" />
- <appender name="stubAppender" class="org.eclipse.virgo.medic.eventlog.impl.logback.LocalizedOutputAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
- <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex</Pattern>
- </layout>
+ <appender name="stubAppender" class="org.eclipse.virgo.medic.eventlog.impl.logback.LocalizedOutputAppender">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex</Pattern>
+ </encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>target/serviceability/eventlog/eventlog.log</file>
@@ -24,25 +24,25 @@
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>10MB</MaxFileSize>
</triggeringPolicy>
- <layout class="ch.qos.logback.classic.PatternLayout">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
- </layout>
+ </encoder>
</appender>
</logger>
<logger name="org.eclipse.virgo.medic.eventlog.default">
<appender name="stubAppender" class="org.eclipse.virgo.medic.eventlog.impl.logback.DefaultOutputAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex</Pattern>
- </layout>
+ </encoder>
</appender>
</logger>
<logger name="org.eclipse.virgo.medic.log.impl.LoggingPrintStreamWrapperTests">
<appender name="capturingAppender" class="org.eclipse.virgo.medic.log.impl.CapturingAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>%msg</Pattern>
- </layout>
+ </encoder>
</appender>
<appender-ref ref="STDOUT"/>
</logger>
diff --git a/org.eclipse.virgo.medic.core/src/test/resources/logback.xml b/org.eclipse.virgo.medic.core/src/test/resources/logback.xml
index f9049cf..35b42ac 100644
--- a/org.eclipse.virgo.medic.core/src/test/resources/logback.xml
+++ b/org.eclipse.virgo.medic.core/src/test/resources/logback.xml
@@ -1,8 +1,8 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>Bundle1 [%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
- </layout>
+ </encoder>
</appender>
<root level="debug">

Back to the top