[logback-dev] [JIRA] Created: (LBCLASSIC-127) RollingFileAppender does not roll the files in SimpleSocketServer

Rick Janda (JIRA) noreply-jira at qos.ch
Fri May 15 16:35:11 CEST 2009

RollingFileAppender does not roll the files in SimpleSocketServer

                 Key: LBCLASSIC-127
                 URL: http://jira.qos.ch/browse/LBCLASSIC-127
             Project: logback-classic
          Issue Type: Bug
          Components: Other
    Affects Versions: 0.9.15
            Reporter: Rick Janda
            Assignee: Logback dev list

Hello Logback team,

I use the RollingFileAppender in a SimpleSocketServer. 
The Messages are correctly written to the files but the files are not rolled at all.
If I use the same appender config directly in my applications locally, it rolls the files as expected.
The appender is configures as followed:

    <appender name="PAYLOAD_SIFT" class="ch.qos.logback.classic.sift.SiftingAppender">
        <discriminator class="com.swisscom.allip.logback.ContextBasedDiscriminator">
            <appender name="FILE-PAYLOAD-${contextName}" class="ch.qos.logback.core.rolling.RollingFileAppender">
                <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
                    <!-- Rollover at midnight. Put log as uncompressed file to archive.  -->
                    <!-- Keep 5 days worth of history -->

                <layout class="ch.qos.logback.classic.PatternLayout">
                    <Pattern>%d{HH:mm:ss.SSS} refId: %mdc{refId} - %msg%n%xEx{full}</Pattern>

Can you please have a look at this issue.

Thank you in advance,

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the logback-dev mailing list