blob: e23821bb867f973e144a2a23c14c5e3278f46f14 [file] [log] [blame]
Naoki Shiota4e463182014-03-21 15:13:24 -07001<configuration scan="true" scanPeriod="1 minutes" debug="true">
2<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
Yuta HIGUCHI04713972014-05-30 11:01:17 -07003 <encoder>
4 <pattern>%level [%logger:%thread] %msg%n</pattern>
5 </encoder>
Naoki Shiota4e463182014-03-21 15:13:24 -07006</appender>
7
Yuta HIGUCHI04713972014-05-30 11:01:17 -07008<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
9 <file>__FILENAME__</file>
10 <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
11 <fileNamePattern>__ROLLING_PATTERN__</fileNamePattern>
12 <minIndex>1</minIndex>
13 <maxIndex>10</maxIndex>
14 </rollingPolicy>
15 <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
16 <maxFileSize>100MB</maxFileSize>
17 </triggeringPolicy>
18 <encoder>
19 <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
20 <immediateFlush>true</immediateFlush>
21 </encoder>
Naoki Shiota4e463182014-03-21 15:13:24 -070022</appender>
23
24<logger name="org" level="WARN"/>
25<logger name="LogService" level="WARN"/> <!-- Restlet access logging -->
26<logger name="net.floodlightcontroller.logging" level="WARN"/>
27<logger name="com.hazelcast" level="INFO"/>
28
29<root level="DEBUG">
Yuta HIGUCHI04713972014-05-30 11:01:17 -070030 <appender-ref ref="FILE" />
Naoki Shiota4e463182014-03-21 15:13:24 -070031</root>
Yuta HIGUCHI04713972014-05-30 11:01:17 -070032</configuration>