[logback-dev] [Bug 112] Deadlock when running on multiple core processors

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Dec 11 12:11:08 CET 2007


http://bugzilla.qos.ch/show_bug.cgi?id=112





------- Comment #1 from toni.heimala at imagesoft.fi  2007-12-11 12:11 -------
Forgot the logging configuration file, this is how it looks like:

---------------------------------
logger.xml
---------------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<configuration>
    <consolePlugin />
        <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
                <layout class="ch.qos.logback.classic.PatternLayout">
                        <pattern>%d{HH:mm:ss.SSS} - %msg%n</pattern>
                </layout>
        </appender>

        <appender name="FILE-MAIN"
class="ch.qos.logback.core.rolling.RollingFileAppender">
                <file>logs/main.log</file>
                <rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
                        <FileNamePattern>logs/main-%i.log</FileNamePattern>
                        <MinIndex>1</MinIndex>
                        <MaxIndex>3</MaxIndex>
                </rollingPolicy>
                <triggeringPolicy
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
                        <MaxFileSize>500MB</MaxFileSize>
                </triggeringPolicy>
                <layout class="ch.qos.logback.classic.PatternLayout">
                        <Pattern>%date %level [%thread] %msg%n</Pattern>
                </layout>
        </appender>

        <root>
                <appender-ref ref="FILE-MAIN" />
                <level value="DEBUG" />
        </root>

</configuration>


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the logback-dev mailing list