0
点赞
收藏
分享

微信扫一扫

通过yml文件配置日志错误笔记

其生 2022-01-31 阅读 27

通过yml文件配置日志错误

错误代码:

logging:
  level: 
    root: info
    com.ren.blog: DEBUG
    file: log/blog-dev.log

报错示例:
在这里插入图片描述

格式有误,最终修改:

logging:
  level:
    root: info
    com.ren.blog: DEBUG
  file:
    name: log/blog-dev.log
举报

相关推荐

0 条评论