debug的时候日志是灰色的不利于查看,我们在application.properties文件中添加下面配置开启彩色日志输出

spring.output.ansi.enabled=ALWAYS

 

相关文章: