OSDN Git Service

logback.xml
[coroid/inqubus.git] / frontend / src / logback.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <configuration>
3
4   <appender name="FILE" class="ch.qos.logback.core.FileAppender">
5     <file>inqubus.log</file>
6     <append>false</append>
7
8     <encoder>
9       <pattern>%msg [%date]%n</pattern>
10     </encoder>
11   </appender>
12
13   <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
14     <encoder>
15       <pattern>%msg%n</pattern>
16     </encoder>
17   </appender>
18
19   <root level="info">
20     <appender-ref ref="FILE" />
21     <appender-ref ref="STDOUT" />
22   </root>
23 </configuration>