[/WEB-INF/src/log4j.xml] 




<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration>
<configuration xmlns='http://logging.apache.org/'>
    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern"
                value="%p - %C{1}.%M(%L) | %m%n"/>
        </layout>
    </appender>

    <logger name="org.apache">
        <level value="WARN"/>
    </logger>

    <logger name="org.springframework">
        <level value="DEBUG"/>
    </logger>

    <logger name="springJDBC">
        <level value="DEBUG"/>
    </logger>

    <root>
        <level value="WARN"/>
<appender-ref ref="CONSOLE"/>
    </root>
</configuration> 

+ Recent posts