Skip to content

springboot 可点击日志

yaml
logging:
  level:
    root: info
  pattern:
    console: "%clr(%d{MM/dd HH:mm:ss}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(-){faint} %clr([%10.10t]){faint} \\(%file:%line\\) %clr(>>>>>>) %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"