2010. 5. 28. 11:30ㆍ라이브러리/log4j
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<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>
<filter class="org.apache.log4j.varia.StringMatchFilter">
<param name="StringToMatch" value="Result" />
<param name="AcceptOnMatch" value="false" />
</filter>
</appender>
<logger name="org.apache">
<level value="WARN"/>
</logger>
<logger name="org.springframework">
<level value="DEBUG"/>
</logger>
<logger name="com.ibatis">
<level value="DEBUG"/>
</logger>
<logger name="java.sql">
<level value="DEBUG"/>
</logger>
<logger name="woosin78.spring">
<level value="DEBUG"/>
</logger>
<logger name="com.WARN">
<level value="DEBUG"/>
</logger>
<root>
<level value="WARN"/>
<appender-ref ref="CONSOLE"/>
</root>
</log4j:configuration>
'라이브러리 > log4j' 카테고리의 다른 글
[log4j] log4j 를 설정해보자 (0) | 2010.05.28 |
---|