]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.logback.configuration/logback.xml
Disable SCL Issue provider by default
[simantics/platform.git] / bundles / org.simantics.logback.configuration / logback.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <configuration>
3
4   <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
5     <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
6     <encoder>
7       <pattern>%-5p [%d] %c: %m%n%rEx</pattern>
8       <charset>UTF-8</charset>
9     </encoder>
10   </appender>
11
12   <appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
13     <file>logs/out.log</file>
14     <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
15       <fileNamePattern>logs/out-%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern>
16       <maxFileSize>10MB</maxFileSize>
17       <maxHistory>30</maxHistory>
18       <totalSizeCap>200MB</totalSizeCap>
19     </rollingPolicy>
20     <encoder>
21       <pattern>%-5p [%d] %c: %m%n%rEx</pattern>
22       <charset>UTF-8</charset>
23     </encoder>
24   </appender>
25
26   <appender name="async-console" class="ch.qos.logback.classic.AsyncAppender">
27     <appender-ref ref="console" />
28   </appender>
29
30   <appender name="async-file" class="ch.qos.logback.classic.AsyncAppender">
31     <appender-ref ref="file" />
32   </appender>
33
34   <root level="info">
35     <appender-ref ref="async-console" />
36     <appender-ref ref="async-file" />
37   </root>
38 </configuration>