Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2010-09-02 12:10:47 +0000
committerGlyn Normington2010-09-02 12:10:47 +0000
commit43b5479f3d45541fb3a4502cec4f82a11c986bf8 (patch)
tree10f96c5f82afa69056ff193b702aa49f7b02df9e
parentd734d80a27ae39bb35318a60fa15d1be235a9771 (diff)
downloadorg.eclipse.virgo.medic-43b5479f3d45541fb3a4502cec4f82a11c986bf8.tar.gz
org.eclipse.virgo.medic-43b5479f3d45541fb3a4502cec4f82a11c986bf8.tar.xz
org.eclipse.virgo.medic-43b5479f3d45541fb3a4502cec4f82a11c986bf8.zip
update default logging configuration (even though it seems not to be used)
-rw-r--r--org.eclipse.virgo.medic.core/src/main/resources/logback-default.xml24
1 files changed, 12 insertions, 12 deletions
diff --git a/org.eclipse.virgo.medic.core/src/main/resources/logback-default.xml b/org.eclipse.virgo.medic.core/src/main/resources/logback-default.xml
index cbd6eb2..2ce23b2 100644
--- a/org.eclipse.virgo.medic.core/src/main/resources/logback-default.xml
+++ b/org.eclipse.virgo.medic.core/src/main/resources/logback-default.xml
@@ -1,30 +1,30 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <layout class="ch.qos.logback.classic.PatternLayout">
- <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
- </layout>
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread %msg %ex%n</Pattern>
+ </encoder>
</appender>
<appender name="EVENT_LOG_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <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%n</Pattern>
- </layout>
+ <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>
+ </encoder>
</appender>
<appender name="EVENT_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
- <file>serviceability/eventlog/eventlog.log</file>
+ <file>serviceability/eventlogs/defaulteventlog.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
- <FileNamePattern>serviceability/eventlog/eventlog_%i.log</FileNamePattern>
+ <FileNamePattern>serviceability/eventlogs/defaulteventlog_%i.log</FileNamePattern>
<MinIndex>1</MinIndex>
<MaxIndex>4</MaxIndex>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>10MB</MaxFileSize>
</triggeringPolicy>
- <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%n</Pattern>
- </layout>
+ <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>
+ </encoder>
</appender>
<logger name="org.eclipse.virgo.medic.eventlog.localized">
@@ -32,7 +32,7 @@
<appender-ref ref="EVENT_LOG_FILE" />
</logger>
- <root level="debug">
+ <root level="DEBUG">
<appender-ref ref="STDOUT" />
</root>

Back to the top