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
we are heavily using your library in our Quarkus Kubernetes Operators that are built natively (with Mandrel (GraalVM)). When trying to upgrade to version 8 of the library, we're getting the following native build error:
Error: Substitution target for io.github.oshai.kotlinlogging.internal.Target_io_github_oshai_kotlinlogging_internal_KLoggerFactory$Companion is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
Internal exception: com.oracle.svm.core.util.UserError$UserException: Substitution target for io.github.oshai.kotlinlogging.internal.Target_io_github_oshai_kotlinlogging_internal_KLoggerFactory$Companion is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
We will investigate further, if there's a fix we can use to mitigate this. I just wanted to ask in parallel if there's maybe something that can be done on the library side to fix this problem?
Activity
github-actions commentedon Apr 17, 2026
Thank you for reporting an issue. See the wiki for documentation and slack for questions.
CaelumF commentedon May 1, 2026
I'm also facing this issue and curious if anyone found a fix