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目录
|
# xml文件路径,classpath* 代表所有模块的resources目录 classpath 不加星号代表当前模块下的resources目录
|
||||||
mapper-locations: classpath*:mapper/**/*.xml
|
mapper-locations: classpath*:mapper/**/*.xml
|
||||||
configuration:
|
configuration:
|
||||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
||||||
|
|
||||||
wx:
|
wx:
|
||||||
mp:
|
mp:
|
||||||
@@ -36,4 +36,4 @@ wx:
|
|||||||
database: ${spring.redis.database}
|
database: ${spring.redis.database}
|
||||||
port: ${spring.redis.port}
|
port: ${spring.redis.port}
|
||||||
password: ${spring.redis.password}
|
password: ${spring.redis.password}
|
||||||
type: RedisTemplate
|
type: RedisTemplate
|
||||||
|
|||||||
@@ -78,6 +78,8 @@
|
|||||||
<appender-ref ref="ERROR_FILE"/>
|
<appender-ref ref="ERROR_FILE"/>
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
<logger name="com.starry" level="info"/>
|
<logger name="org.mybatis" level="WARN"/>
|
||||||
|
<logger name="com.baomidou.mybatisplus" level="WARN"/>
|
||||||
|
<logger name="com.starry" level="info"/>
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
Reference in New Issue
Block a user