New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logback 1.4.9 reflect-config.json missing ContextInitializer #454
Labels
bug
Something isn't working
Comments
martijndwars
changed the title
Logback incorrect?
Logback 1.4.9 reflect-config.json missing ContextInitializer?
Feb 19, 2024
martijndwars
changed the title
Logback 1.4.9 reflect-config.json missing ContextInitializer?
Logback 1.4.9 reflect-config.json missing ContextInitializer
Feb 19, 2024
wilkinsona
added a commit
to wilkinsona/graalvm-reachability-metadata
that referenced
this issue
Feb 23, 2024
6 tasks
#458 should fix this. |
dnestoro
pushed a commit
that referenced
this issue
Feb 29, 2024
Thank you @wilkinsona! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using the reflect-config.json for Logback 1.4.9, no logs are seen on the console.
To Reproduce
See attached logback-native.zip.
Expected behavior
See log output on the console.
Additional context
reflect-config.json loads the following two classes if
ch.qos.logback.classic.util.ContextInitializer
is reachable:ch.qos.logback.classic.util.DefaultJoranConfigurator
ch.qos.logback.classic.joran.SerializedModelConfigurator
However, according to the ContextInitializer.java sources
ch.qos.logback.classic.BasicConfigurator
is also loaded reflectively, but this class is missing from the reflect-config. As such, the BasicConfigurator is never run, and some essential configuration is missing.The text was updated successfully, but these errors were encountered: