graalvm

armed 2023-08-02T10:58:50.050329Z

Hi, I wonder what can be the reason of this kind of error. It happens after I add

--trace-class-initialization=org.slf4j.impl.StaticLoggerBinder,org.slf4j.LoggerFactory,com.github.fzakaria.slf4j.timbre.TimbreLoggerFactory

borkdude 2023-08-02T11:01:52.991139Z

Are you using the absolute newest version of timbre?

armed 2023-08-02T11:02:43.707059Z

I don’t think so, will try to update dep and try again

borkdude 2023-08-02T11:03:17.429589Z

there have been several fixes for graalvm in timbre. I'm also using timbre in bb

armed 2023-08-02T11:03:33.117129Z

Thanks @borkdude, will try

armed 2023-08-02T12:02:30.467309Z

Upgrading timbre didn’t help, but excluding com.fzakaria/slf4j-timbre helped, still don’t understand why native-image fails reporting class initialization. But now I’m ended up with third-party libs which are spitting slf4j logs. But this is another problem to solve