Hello All,
My log files are not rolling when it reached 10MB with below
configuration.
I tried other combination too, could not succeed. Please help me in
resolving the issue.
What i could be configuring wrong here.
<appender name="FILE"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>data/log/karaf.log</file>
<encoder>
<pattern>%d{ISO8601} | %-5level | %thread | %logger{1} |
%message%n
</pattern>
</encoder>
<rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<maxIndex>15</maxIndex>
<fileNamePattern>data/log/karaf.%d{yyyy-MM-dd}.%i.gz
</fileNamePattern>
</rollingPolicy>
<triggeringPolicy
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>10MB</MaxFileSize>
</triggeringPolicy>
</appender>
Thanks.
Srikanth.
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user