diff options
author | Alexander Alexeev | 2016-11-12 00:37:48 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-12 11:14:55 +0300 |
commit | dd6f08b078cf7783d4ce81f15abb199285671304 (patch) | |
tree | 7e87464151005282cfee011b64be9faeba79a72e | |
parent | 8b9a4da9ae8aaa7c62990964af61e5fc823ff84a (diff) |
logback example corrected
-rw-r--r-- | juick-core/src/main/resources/logback.xml.example | 21 | ||||
-rw-r--r-- | juick-notifications/src/main/resources/logback.xml | 13 |
2 files changed, 21 insertions, 13 deletions
diff --git a/juick-core/src/main/resources/logback.xml.example b/juick-core/src/main/resources/logback.xml.example index d80b4b33..05a3cfdf 100644 --- a/juick-core/src/main/resources/logback.xml.example +++ b/juick-core/src/main/resources/logback.xml.example @@ -8,6 +8,27 @@ </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> diff --git a/juick-notifications/src/main/resources/logback.xml b/juick-notifications/src/main/resources/logback.xml deleted file mode 100644 index 9e3bf16c..00000000 --- a/juick-notifications/src/main/resources/logback.xml +++ /dev/null @@ -1,13 +0,0 @@ -<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 |