mybatis sql错误打印到log4j文件

<configuration>

<settings>

...

<settingname="logImpl"value="LOG4J"/>

...

</settings>

</configuration>

http://mybatis.github.io/mybatis-3/logging.html

http://www.sjsjw.com/kf_other/article/030968ABA025838.asp