***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'logging.level' to java.util.Map<java.lang.String, org.springframework.boot.logging.LogLevel>:
Reason: No converter found capable of converting from type [java.lang.String] to type [java.util.Map<java.lang.String, org.springframework.boot.logging.LogLevel>]
Action:
Update your application's configuration
Process finished with exit code 1

springboot中设置日志记录级别需要加上packname不然会报上述错误:
将配置改成下面即可
logging:
level:
com.enki.seckillt: debug
博客指出在Spring Boot中设置日志记录级别时,若不加上packname会报错,将配置改成指定内容即可解决该问题。
2万+

被折叠的 条评论
为什么被折叠?



