-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathlog4j.xml
32 lines (23 loc) · 894 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
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- this log4jV1 is needed for QUARTZ scheduler. QUARTZ does not work with the compatibily layer
of LOG4j V2 -> V1 -->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.Out" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{dd.MM.yyyy[HH:mm:ss]}[%p]:[%C{1}]-%m%n" />
</layout>
</appender>
<!-- only one line allowed. debug includes all others -->
<logger name="com.gsi">
<level value="debug" />
</logger>
<logger name="org.apache.ftpserver">
<level value="error" />
</logger>
<root>
<level value="info" />
<appender-ref ref="console" />
</root>
</log4j:configuration>