Created
May 3, 2020 15:59
myBatisのログをLog4jに出力する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" > | |
<!-- アペンダ --> | |
<category name="org.apache.ibatis"> | |
<priority value="trace" /> | |
<appender-ref ref="(アペンダ名)"/> | |
</category> | |
<category name="java.sql"> | |
<priority value="trace" /> | |
<appender-ref ref="(アペンダ名)"/> | |
</category> | |
<!-- ルート --> | |
</log4j:configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment