forked from RestComm/load-balancer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lb-log4j.xml
34 lines (30 loc) · 1.21 KB
/
lb-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
33
34
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="file" class="org.apache.log4j.RollingFileAppender">
<param name="file" value="/home/gvagenas/Desktop/TelScale-Restcomm-716GA/TelScale-Restcomm-JBoss-AS7-7.1.6.660/tools/sip-balancer/logs/load-balancer.log"/>
<param name="MaxFileSize" value="2000KB"/>
<!-- Keep one backup file -->
<param name="MaxBackupIndex" value="20"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %p %t %l - %m%n"/>
</layout>
</appender>
<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 %p %t - %m%n"/>
</layout>
</appender>
<category name="org.mobicents">
<priority value="DEBUG" />
</category>
<category name="gov.nist">
<priority value="INFO" />
</category>
<root>
<priority value ="DEBUG" />
<appender-ref ref="console" />
<appender-ref ref="file" />
</root>
</log4j:configuration>