我用xml配置报这个错误
来源:3-2 日志的使用
我要跳槽
2019-06-23
ERROR in ch.qos.logback.core.joran.spi.Interpreter@18:87 - no applicable action for [rollingPolicy], current ElementPath is [[configuration][appender][encoder][rollingPolicy]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@20:34 - no applicable action for [fileNamePattern], current ElementPath is [[configuration][appender][encoder][rollingPolicy][fileNamePattern]]
写回答
1回答
-
廖师兄
2019-06-24
你的代码写错啦。提问题,不光要给出错误日志,还需要把你的代码给出来。你可以对比课程源码里的logback配置文件。逐行检查。
00
相似问题