logback start being given, IllegalStateException: Logback configuration error detected ...

Error message:

Caused by: java.lang.IllegalStateException: Logback configuration error detected: 
ERROR in ch.qos.logback.core.joran.spi.Interpreter@29:21 - no applicable action for [patten], current ElementPath  is [[configuration][appender][encoder][patten]]
ERROR in ch.qos.logback.classic.PatternLayout("null") - Empty or null pattern.

// 原因:java.lang.IllegalStateException: 检测到Logback配置错误:
// 错误 在 ch.qos.logback.core.joran.spi.Interpreter@29:21 - 没有 [patten] 的适用操作,当前元素路径为 [ [配置] [附加程序] [编码器] [模式] ]
// 错误 在 ch.qos.logback.classic.PatternLayout("null") - 空或null模式。

the reason:

The <encoder> <pattern> $ { log.pattern} </ pattern> </ encoder> The pattern written Patten , TT

Published 23 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_42046751/article/details/104053677