Refactor logging to use slf4j
[iotivity.git] / cloud / interface / src / main / resources / logback.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <configuration>
3     <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
4         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
5             <!-- To log coap message payload, include variable %X{coappayload} into pattern -->
6             <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} | %-5level | %class{0}.%method:%L | %msg%n</pattern>
7         </encoder>
8     </appender>
9     <root level="trace">
10         <appender-ref ref="STDOUT" />
11     </root>
12 </configuration>