linghengqian commented on issue #2791: URL: https://github.com/apache/logging-log4j2/issues/2791#issuecomment-2264670243
> Hi @linghengqian, > > Could you point us to how you generate the GraalVM image? > > As almost all filters (except `DenyAllFilter` and `Filters`), `MarkerFilter` has a `onMismatch` property. I suspect that the GraalVM reflection metadata you use might lack the property, hence the problem in the native image. - Hi, the steps I mentioned in the issue description never involve using log4j2 under GraalVM Native Image. On the shardingspehre side, all nativeTest under GraalVM Native Image have excluded log4j2 in maven pom, and I am actually waiting for the release of log4j2 2.24.0. - On the hive side, the Error Log of `ERROR MarkerFilter contains an invalid element or attribute "onMismatch"` is obtained by executing unit tests under Hotspot JDK 8. Hive can still only be compiled with openjdk 8, and it is too early to discuss graalvm native image in the hive community. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
