logback-android icon indicating copy to clipboard operation
logback-android copied to clipboard

Lazy setting does not work

Open BrunoLopardo opened this issue 1 year ago • 0 comments

Describe the bug

When using the lazy option in SocketAppender as shown in this example, the options is not recognized and I get the following error:

System.out: 16:45:29,844 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@10:15 - no applicable action for [lazy], current ElementPath is [[configuration][appender][lazy]]

Reproduction

Use the configuration in the linked example

Logs

No response

logback-android version

3.0.0

OS Version

Android 11

What logback configuration are you using? (logback.xml or Java/Kotlin code)

Same as https://github.com/tony19/logback-android/wiki/Appender-Notes#socketappender-syslogappender

Validations

  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • [X] The provided reproduction is a minimal reproducible of the bug.

BrunoLopardo avatar Apr 13 '23 16:04 BrunoLopardo