adjust logging, avoid add too much raw sql logging
This commit is contained in:
@@ -22,7 +22,7 @@ mybatis-plus:
|
||||
# xml文件路径,classpath* 代表所有模块的resources目录 classpath 不加星号代表当前模块下的resources目录
|
||||
mapper-locations: classpath*:mapper/**/*.xml
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
||||
|
||||
wx:
|
||||
mp:
|
||||
|
||||
@@ -78,6 +78,8 @@
|
||||
<appender-ref ref="ERROR_FILE"/>
|
||||
</root>
|
||||
|
||||
<logger name="org.mybatis" level="WARN"/>
|
||||
<logger name="com.baomidou.mybatisplus" level="WARN"/>
|
||||
<logger name="com.starry" level="info"/>
|
||||
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user