-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Logback requires a lot of configuration to work with SubstrateVM #807
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
Comments
It works for me with this JSON in
|
Indeed, I have updated the repro project accordingly. That said, could GraalVM team have a look to see if there is something that could be improved in GraalVM reflection support to avoid this huge configuration for a basic need? |
Any luck getting file appenders to work? This is what I get.
|
@sdeleuze the Assisted Configuration of Native Image Builds should make it easier to discover the reflectivelly accessed elements. Reflection configuration is still required for reflective access and we don't plan to change that. Enabling reflective access for all elements, without any config, although possible, would increase the size of the generated image due to the needed metadata. I tried your repo and your example works as expected. I am closing this issue as not a bug. |
@rahulsom did you try using |
Logback configuration does not work with SubstrateVM, see this repro project.
As GraalVM native image
Tested with GraalVM 1.0.0 RC9
The text was updated successfully, but these errors were encountered: