ppkarwasz commented on issue #1539: URL: https://github.com/apache/logging-log4j2/issues/1539#issuecomment-2665140425
@chia7712, > Pardon me, does "log4j2 2.25.0-SNAPSHOT" indicate that log4j2 can be used with GraalVM without requiring any modifications to the user code? To be precise, starting with `2.25.0` you will be able to use Log4j Core without any modification to your Gradle/Maven Native Plugin configuration. You can also use **any** version of Log4j Core with GraalVM if you provide an appropriate `reflect-config.json` in a subfolder of the `META-INF/native-image` directory of your application. We have some examples of this procedure in the [`log4j-samples-graalvm`](https://github.com/apache/logging-log4j-samples/tree/main/log4j-samples-graalvm) example project. In some of the Maven profiles, we add a [profile-specific resources folder](https://github.com/apache/logging-log4j-samples/tree/main/log4j-samples-graalvm/src/reachability-metadata). You can extract the appropriate `reflect-config.json` file from the `2.25.0` snapshots and add it to your application. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org