Given the following, my lsc.log is deleted at the 100k even, but I do not
see the compressed previous log file. Is there a jar file needed for
this? I am running under Windows Server 2008 R2 with JRE version
"1.7.0_04"
<appender name="LSC"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<Append>true</Append>
<File>c:/lsc/logs/lsc.log</File>
<layout class="org.lsc.utils.output.LdifLayout">
<Pattern>%date{MMM dd HH:mm:ss} - %-5level -
%message%n</Pattern>
</layout>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy
class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<FileNamePattern>lsc.log.%i.gz</FileNamePattern>
<MinIndex>1</MinIndex>
<MaxIndex>7</MaxIndex>
</rollingPolicy>
<triggeringPolicy
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>100KB</MaxFileSize>
</triggeringPolicy>
</appender>
Does anybody else have this working?
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users