输出到控制台
logging:
level:
com.baomidou.mybatisplus.samples.quickstart: debug
mybatis-plus:
configuration:
# 输出到控制台
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
defaultEnumTypeHandler: com.acegear.datasource.handlers.EnumHandler
global-config:
banner: false
typeEnumsPackage: com.acegear.cms.orm.enums
关闭sql日志打印
logging:
level:
com.baomidou.mybatisplus.samples.quickstart: info
mybatis-plus:
configuration:
# 关闭日志打印
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
global-config:
banner: false
logging.level设置日志级别:
https://www.cnblogs.com/yanguobin/p/11487667.html
网友评论