==========방법 1==========
logPrefix 를 지정해서 사용하는 방법.
-- mybatis-env-setting.xml 설정.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<settings>
setting name="logPrefix" value="com.qmffjem09.tistory."/>
</settings>
</configuration>
--logback 설정
<logger name="com.qmffjem09.tistory" level="TRACE" additivity="false">
<appender-ref ref="STDOUT" />
</logger>
==========방법2==========
mybatis intercepter를 등록해서 처리 하는방법.
아래 url 참조 .
http://lng1982.tistory.com/248