aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-11-10 04:50:07 +0700
committerGravatar Vitaly Takmazov2016-11-11 17:26:58 +0300
commit5fea6d5c67d11edca8919ad7e35c79c5a5588a3e (patch)
treea71e6d5fbf8b67e7bfa7c3f68c751034919109ff
parent16b33e09780b4778f37257a4f81803b3777754ec (diff)
using slf4j + logback for logging
-rw-r--r--juick-core/src/main/resources/logback.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/juick-core/src/main/resources/logback.xml b/juick-core/src/main/resources/logback.xml
new file mode 100644
index 00000000..9e3bf16c
--- /dev/null
+++ b/juick-core/src/main/resources/logback.xml
@@ -0,0 +1,13 @@
+<configuration>
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <!-- encoders are assigned the type
+ ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <root level="info">
+ <appender-ref ref="STDOUT" />
+ </root>
+</configuration> \ No newline at end of file