-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j.xml
25 lines (21 loc) · 832 Bytes
/
log4j.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
<appender name="LOG.Console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d{yyy-MM-dd HH:mm:ss} [%-5p] %c (%F:%L) - %m%n" />
</layout>
</appender>
<logger name="java.sql.Connection" additivity="true">
<level value="DEBUG" />
</logger>
<logger name="java.sql.PreparedStatement" additivity="true">
<level value="DEBUG" />
<appender-ref ref="LOG.Console" />
</logger>
<root>
<priority value="DEBUG" />
<appender-ref ref="LOG.Console" />
</root>
</log4j:configuration>