Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.metadata.basic / org.gvsig.metadata.basic.lib / org.gvsig.metadata.lib.basic.impl / src / test / resources / log4j.xml @ 40608

History | View | Annotate | Download (1.09 KB)

1
<?xml version="1.0" encoding="UTF-8" ?>
2
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3

    
4
<!-- 
5
Log4J configuration file for unit tests execution.
6
 -->
7
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
8

    
9
        <!-- Appender configuration to show logging messages through the console -->
10
        <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
11
                <layout class="org.apache.log4j.PatternLayout">
12
                        <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n  %m%n" />
13
                </layout>
14
        </appender>
15

    
16
        <!-- 
17
        Activate logging messages of DEBUG level of higher only for the
18
        DefaultExampleManager class.
19
        You can put full classes names or packages instead, to configure
20
        logging for all the classes and subpackages of the package.
21
        -->
22
        <category name="org.gvsig.metadata.basic.impl.DefaultExampleManager">
23
                <priority value="DEBUG" />
24
        </category>
25

    
26
        <!-- 
27
        By default, show only logging messages of INFO level or higher, 
28
        through the previously configured CONSOLE appender. 
29
        -->
30
        <root>
31
                <priority value="INFO" />
32
                <appender-ref ref="CONSOLE" />
33
        </root>
34
</log4j:configuration>