aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/resources/logback.xml.example
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-16 14:30:50 +0300
committerGravatar Vitaly Takmazov2016-11-16 16:21:53 +0300
commitffb24e0d469aaafa35ad5f460a7bdf771382f0ff (patch)
tree0d8fc9114b916f9058cccb01fcf8281a0a209284 /juick-server/src/main/resources/logback.xml.example
parente8faf851327a12f28ae664a6f7db6c844d0ba9bf (diff)
server-core -> juick-server
Diffstat (limited to 'juick-server/src/main/resources/logback.xml.example')
-rw-r--r--juick-server/src/main/resources/logback.xml.example35
1 files changed, 35 insertions, 0 deletions
diff --git a/juick-server/src/main/resources/logback.xml.example b/juick-server/src/main/resources/logback.xml.example
new file mode 100644
index 00000000..05a3cfdf
--- /dev/null
+++ b/juick-server/src/main/resources/logback.xml.example
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration debug="true">
+ <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>
+
+ <!-- log SQL (pre-execution) plus exceptions caused by SQL -->
+ <!-- <logger name="jdbc.sqlonly" level="debug"/>-->
+
+ <!-- log SQL with timing information, post execution -->
+ <!-- <logger name="jdbc.sqltiming" level="debug"/> -->
+
+ <!-- only use the two logs below to trace ALL JDBC information, NOTE: This can be very voluminous! -->
+
+ <!-- log all jdbc calls except ResultSet calls -->
+ <!-- <logger name="jdbc.audit" level="debug"/> -->
+
+ <!-- log the jdbc ResultSet calls -->
+ <!-- <logger name="jdbc.resultset" level="debug"/> -->
+
+ <!-- log connection open/close events and dump of all open connection numbers -->
+ <!-- <logger name="jdbc.connection" level="debug"/> -->
+
+ <!-- this log is for internal debugging of log4jdbc, itself -->
+ <!-- debug logging for log4jdbc itself -->
+ <!-- <logger name="log4jdbc.debug" level="debug"/> -->
+
+ <root level="info">
+ <appender-ref ref="STDOUT" />
+ </root>
+</configuration> \ No newline at end of file