-
Notifications
You must be signed in to change notification settings - Fork 0
/
Log4cxxConfig.xml
56 lines (47 loc) · 1.83 KB
/
Log4cxxConfig.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8" ?>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- Output the log message to system console.
-->
<appender name="appxConsoleAppender" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- <param name="ConversionPattern" value="%-16c{1} %-5p (%F:%L) - %m%n"/> -->
<param name="ConversionPattern" value="\t%d{HH:mm:ss,SSS} %-16c{1} %-5p (%F:%L) - %m%n"/>
</layout>
</appender>
<!-- Output the log message to log file
<appender name="appxNormalAppender" class="org.apache.log4j.FileAppender">
<param name="file" value="appxLogFile.log" />
<param name="append" value="true" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %c{1} (%F:%L) - %m%n" />
</layout>
</appender>
-->
<root>
<priority value="all" />
<!--<appender-ref ref="appxConsoleAppender"/>-->
</root>
<!-- Specify the level for some specific categories -->
<!-- priority can be error, warn, info, debug, trace -->
<category name="main" >
<priority value ="info" />
<appender-ref ref="appxConsoleAppender"/>
</category>
<category name="NDArrayToHDF5" >
<priority value ="warn" />
<appender-ref ref="appxConsoleAppender"/>
</category>
<category name="WriteConfig" >
<priority value ="info" />
<appender-ref ref="appxConsoleAppender"/>
</category>
<category name="LayoutXML" >
<priority value ="info" />
<appender-ref ref="appxConsoleAppender"/>
</category>
<category name="Server" >
<priority value ="debug" />
<appender-ref ref="appxConsoleAppender"/>
</category>
</log4j:configuration>