ERROR 👍
20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - A "ch.qos.logback.classic.encoder.PatternLayoutEncoder" object is not assignable to a "com.github.danielwegener.logback.kafka.encoding.KafkaMessageEncoder" variable.
20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - The class "com.github.danielwegener.logback.kafka.encoding.KafkaMessageEncoder" was loaded by
20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - [org.springframework.boot.loader.LaunchedURLClassLoader@5d099f62] whereas object of type
20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - "ch.qos.logback.classic.encoder.PatternLayoutEncoder" was loaded by [org.springframework.boot.loader.LaunchedURLClassLoader@5d099f62].
Tried with different
instead, but still not working :
ERROR in ch.qos.logback.core.joran.spi.Interpreter@39:25 - no applicable action for [producerConfig], current ElementPath is [[configuration][appender][producerConfig]]
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an AppenderAttachable at the top of execution stack. Near [appender-ref] line 42
at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169)
Looks like you are using a recent configuration example for an "old" logback-kafka-appender dependency (< 0.2.0). Can you please provide the relevant appender section from your logback configuration?
HI, I am trying to use
INFO
ERROR 👍 20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - A "ch.qos.logback.classic.encoder.PatternLayoutEncoder" object is not assignable to a "com.github.danielwegener.logback.kafka.encoding.KafkaMessageEncoder" variable. 20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - The class "com.github.danielwegener.logback.kafka.encoding.KafkaMessageEncoder" was loaded by 20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - [org.springframework.boot.loader.LaunchedURLClassLoader@5d099f62] whereas object of type 20:39:54,018 |-ERROR in ch.qos.logback.core.joran.util.PropertySetter@71dac704 - "ch.qos.logback.classic.encoder.PatternLayoutEncoder" was loaded by [org.springframework.boot.loader.LaunchedURLClassLoader@5d099f62].
Tried with different
instead, but still not working :
ERROR in ch.qos.logback.core.joran.spi.Interpreter@39:25 - no applicable action for [producerConfig], current ElementPath is [[configuration][appender][producerConfig]] ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an AppenderAttachable at the top of execution stack. Near [appender-ref] line 42 at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:169)
can you please assist