WeBankFinTech/Exchangis

[Bug] datax engine launch report logback: Application run failed java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected:

ibmsun1 opened this issue · 1 comments

Search before asking

  • I searched the issues and found no similar issues.

Exchangis Component

exchangis-plugins

What happened + What you expected to happen

when launch datax engine, Application run failed because of logback init, errors as follows:
2022-08-24 12:42:10.265 ERROR [main] org.springframework.boot.SpringApplication 834 reportFailure - Application run failed java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.core.joran.spi.Interpreter@20:16 - no applicable action for [appenders], current ElementPath is [[configuration][appenders]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@21:53 - no applicable action for [Console], current ElementPath is [[configuration][appenders][Console]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@22:79 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][Console][ThresholdFilter]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@23:112 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][Console][PatternLayout]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@26:28 - no applicable action for [Send], current ElementPath is [[configuration][appenders][Send]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@27:22 - no applicable action for [Filters], current ElementPath is [[configuration][appenders][Send][Filters]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@28:84 - no applicable action for [ThresholdFilter], current ElementPath is [[configuration][appenders][Send][Filters][ThresholdFilter]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@30:112 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][Send][PatternLayout]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@33:77 - no applicable action for [File], current ElementPath is [[configuration][appenders][File]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@34:95 - no applicable action for [PatternLayout], current ElementPath is [[configuration][appenders][File][PatternLayout]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@37:14 - no applicable action for [loggers], current ElementPath is [[configuration][loggers]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@38:28 - no applicable action for [root], current ElementPath is [[configuration][loggers][root]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@40:42 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]]
ERROR in ch.qos.logback.core.joran.spi.Interpreter@41:39 - no applicable action for [appender-ref], current ElementPath is [[configuration][loggers][root][appender-ref]]

suggestion: add code ch.qos.logback:logback-classic:jar
ch.qos.logback:logback-core:jar in distribution.xml.

Relevent platform

none

Reproduction script

none

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

This issue have been completed by pr 336