[logback-dev] Using Thread to monitored TimeBasedRollingPolicy...!

Ceki Gulcu ceki at qos.ch
Fri Apr 3 10:33:53 CEST 2009


Can you send the complete configuration file you are using?

boss134 wrote:

> 
> 	<appender name="FILEDEBUG"
> class="ch.qos.logback.core.rolling.RollingFileAppender"> 
> 		<file>Debug/myDebug.log</file>
> 		
> 		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
> 			<FileNamePattern>myDebug.%d.zip</FileNamePattern>  
> 			<MaxHistory>60</MaxHistory>  
> 		</rollingPolicy>
> 		 
> 		<filter class="ch.qos.logback.classic.filter.LevelFilter">
>       		        <level>DEBUG</level>
>       		        <onMatch>ACCEPT</onMatch>
>       		        <onMismatch>DENY</onMismatch>
>     	        </filter> 
>        	
> 		<layout class="ch.qos.logback.classic.PatternLayout">
> 			<Pattern>%date %level [%thread] %logger{10} [%file:%line]
> %msg%n</Pattern>
> 		</layout>
> 
> 	</appender>
> 
> 
> 
> Thank you,
> boss134

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the logback-dev mailing list