[logback-user] double logging
Morgan Smith
morgan.covaluate at gmail.com
Sat Feb 3 02:21:38 CET 2007
Greetings,
I am seeing double in the logging. Pretty standard config I think included
below. Can't find any references to this problem.
Wondering if anyone has encountered this.
Example log output :
13161 [AnonymousIoService-1] DEBUG
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable -
Exiting since queue is empty for /192.168.22.11:4001
13161 [AnonymousIoService-1] DEBUG
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable -
Exiting since queue is empty for /192.168.22.11:4001
any help appreciated,
-Morgan
logback.properties :
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<param name="pattern" value="%-4relative [%thread] %-5level %class -
%msg%n" />
</layout>
</appender>
<appender name="bitranlog" class="
ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy
">
<param name="FileNamePattern" value="bitran_%d{yyyy-MM}.log.gz" />
<param name="ActiveFileName"
value="/var/log/smartcorridors/bitran.log" />
</rollingPolicy>
<layout class="ch.qos.logback.classic.PatternLayout">
<param name="pattern" value="%-4relative [%thread] %-5level %class -
%msg%n" />
</layout>
</appender>
<logger name="org.accma.concentrator.services.bitran.BiTranService">
<level value="debug"/>
<appender-ref ref="bitranlog"/>
</logger>
<appender name="soccslog" class="
ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy
">
<param name="FileNamePattern" value="soccs_%d{yyyy-MM}.log.gz" />
<param name="ActiveFileName"
value="/var/log/smartcorridors/soccs.log" />
</rollingPolicy>
<layout class="ch.qos.logback.classic.PatternLayout">
<param name="pattern" value="%-4relative [%thread] %-5level %class -
%msg%n" />
</layout>
</appender>
<logger name="org.accma.concentrator.services.soccs.SOCCSService">
<level value="debug"/>
<appender-ref ref="soccslog"/>
</logger>
<root>
<level value="debug" />
<appender-ref ref="STDOUT" />
</root>
</configuration>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20070202/05f34227/attachment.htm
More information about the Logback-user
mailing list