Skip to main content
summaryrefslogblamecommitdiffstats
blob: dd45802695fa37d3b457fc02983ab4e542d3d114 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                                      
















                                                                                                 



                                           
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="false">
	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<!-- encoders are by default assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
		<encoder>
			<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
			</pattern>
		</encoder>
	</appender>
	<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
       <file>${user.home}/.jubula/logs/rc_swt.log</file>
       <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
           <fileNamePattern>${user.home}/.jubula/logs/archive/rc_swt.%i.log.zip</fileNamePattern>
           <minIndex>1</minIndex>
           <maxIndex>3</maxIndex>
       </rollingPolicy>

       <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
           <maxFileSize>10MB</maxFileSize>
       </triggeringPolicy>

       <encoder>
           <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
           </pattern>
       </encoder>
    </appender>
	<root level="warn">
		<appender-ref ref="FILE" />
	</root>
</configuration>

Back to the top