Naoki Shiota | 4e46318 | 2014-03-21 15:13:24 -0700 | [diff] [blame] | 1 | <configuration scan="true" scanPeriod="1 minutes" debug="true"> |
| 2 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 3 | <encoder> |
| 4 | <pattern>%level [%logger:%thread] %msg%n</pattern> |
| 5 | </encoder> |
| 6 | </appender> |
| 7 | |
| 8 | <appender name="FILE" class="ch.qos.logback.core.FileAppender"> |
| 9 | <file>__FILENAME__</file> |
| 10 | <encoder> |
| 11 | <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern> |
| 12 | <immediateFlush>true</immediateFlush> |
| 13 | </encoder> |
| 14 | </appender> |
| 15 | |
| 16 | <logger name="org" level="WARN"/> |
| 17 | <logger name="LogService" level="WARN"/> <!-- Restlet access logging --> |
| 18 | <logger name="net.floodlightcontroller.logging" level="WARN"/> |
| 19 | <logger name="com.hazelcast" level="INFO"/> |
| 20 | |
| 21 | <root level="DEBUG"> |
| 22 | <appender-ref ref="FILE" /> |
| 23 | </root> |
| 24 | </configuration> |