Skip to main content
summaryrefslogtreecommitdiffstats
blob: 31c258451a9cc4ecd65fbaf854f3fc65d8b60b5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?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_swing.log</file>
       <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
           <fileNamePattern>${user.home}/.jubula/logs/archive/rc_swing.%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>
    <appender name="CAP-FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
       <file>${user.home}/.jubula/logs/rc_swing_ExecutedCaps.log</file>
       <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
           <fileNamePattern>${user.home}/.jubula/logs/archive/rc_swing_ExecutedCaps.%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>%msg%n
           </pattern>
       </encoder>
    </appender>
	<root level="warn">
		<appender-ref ref="FILE" />
	</root>
	<logger name="CAP" level="DEBUG" additivity="false">
        <appender-ref ref="CAP-FILE"/>
    </logger>
</configuration>

Back to the top