方法一:
mybatis-config.xml
<setting name="logImpl" value="STDOUT_LOGGING"/>
方法二:
application.yml
logging:
config: classpath:log4j2.xml
level:
#sql输出
cn.piesat.jinmin.rebuild.mapper: debug
方法一:
mybatis-config.xml
<setting name="logImpl" value="STDOUT_LOGGING"/>
方法二:
application.yml
logging:
config: classpath:log4j2.xml
level:
#sql输出
cn.piesat.jinmin.rebuild.mapper: debug