Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2010-08-04 16:02:27 +0000
committerChristopher Frost2010-08-04 16:02:27 +0000
commit1180144ab34fa48c071e3d1fbe81f1ff40ecb1f5 (patch)
tree2e99707224d58728367b211bfe024aba68c9719e
parent85b496ed8734229fa11fcf788ef534c6d319ac68 (diff)
downloadorg.eclipse.virgo.kernel-1180144ab34fa48c071e3d1fbe81f1ff40ecb1f5.tar.gz
org.eclipse.virgo.kernel-1180144ab34fa48c071e3d1fbe81f1ff40ecb1f5.tar.xz
org.eclipse.virgo.kernel-1180144ab34fa48c071e3d1fbe81f1ff40ecb1f5.zip
Updating the serviceability file to use the new format of Logback config
-rw-r--r--build-kernel/config/serviceability.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/build-kernel/config/serviceability.xml b/build-kernel/config/serviceability.xml
index 24accf18..75bdcde5 100644
--- a/build-kernel/config/serviceability.xml
+++ b/build-kernel/config/serviceability.xml
@@ -16,9 +16,9 @@
<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}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n</Pattern>
- </layout>
+ </encoder>
</appender>
</sift>
</appender>
@@ -33,15 +33,15 @@
<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}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n</Pattern>
- </layout>
+ </encoder>
</appender>
<appender name="EVENT_LOG_STDOUT" class="org.eclipse.virgo.medic.log.logback.ReroutingAwareConsoleAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
- </layout>
+ </encoder>
</appender>
<appender name="EVENT_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
@@ -54,9 +54,9 @@
<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}] %-28.28thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
- </layout>
+ </encoder>
</appender>
<logger level="INFO" additivity="false" name="org.eclipse.virgo.medic.eventlog.localized">

Back to the top