2 <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
4 <!-- encoders are assigned by default the type
5 ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
6 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
7 <!-- daily rollover -->
8 <fileNamePattern>jibu.%d{yyyy-MM-dd}.log</fileNamePattern>
10 <!-- keep 30 days' worth of history -->
11 <maxHistory>30</maxHistory>
15 <pattern>%d{HH:mm:ss.SSS} %-5level [%thread] %logger{36} [%line] - %msg%n</pattern>
19 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
21 <pattern>%d{HH:mm:ss.SSS} %-5level [%thread] %logger{16} [%line] - %msg%n</pattern>
25 <logger name="org.gaixie.jibu" level="INFO"/>
28 <appender-ref ref="FILE" />