You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 29, 2023. It is now read-only.
When using the library with an application build as a native image via GraalVM, it didn't works. No stacktraces are shown but no logs are issued.
To reproduce the issue, use the library inside a GraalVM native image and you will see that no log events are sent.
I chased down the issue to JulLogEvent.getThreadName(LogRecord). This method uses the ThreadMXBean to get the name of the thread from it's ID, but SubstratVM (the VM that runs the native image compiled by GraalVM) didn't implements JMX so this could not work.
I have a working solution that I can contribute via a PR to replace the usage of the ThreadMXBean by Thread.getAllStackTraces().keySet() however I don't know if it has some performance implication (as it uses a cache maybe not important).