在 application.yml添加配置:
logging:
level:
org.springframework.data.mongodb.core.MongoTemplate: DEBUG
如果使用的是 application.properties,则是:
logging.level.org.springframework.data.mongodb.core.MongoTemplate=DEBUG
标签:core,logging,SpringBoot,level,mongodb,springframework,日志
From: https://www.cnblogs.com/expiator/p/17375443.html