-
Notifications
You must be signed in to change notification settings - Fork 0
/
.log4j.xml
18 lines (18 loc) · 873 Bytes
/
.log4j.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="DEBUGFILE" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true"/>
<param name="File" value="C:/Users/ADMIN/OneDrive/ELECTRICAL ENGINEERING - NUS/Year 2 Studies/Sem 1 2020/EE2028/.metadata/.ide.log"/>
<param name="MaxBackupIndex" value="1"/>
<param name="MaxFileSize" value="50MB"/>
<param name="Threshold" value="INFO"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss,SSS} [%p] %c{1}:%L - %m%n"/>
</layout>
</appender>
<root>
<level value="ALL"/>
<appender-ref ref="DEBUGFILE"/>
</root>
</log4j:configuration>