How to enable in native image to send GC logs to file similar to JVM #7177
Unanswered
pavankumar-parankusam
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In JVM on runtime we can use this flag '-Xlog:gc*=debug:file=/tmp/gc.log' to instruct all GC activities should be logged to a file.
Do we have the same feature supported in native image execution in runtime?
I can see these flags -XX:+PrintGC -XX:+VerboseGC which logs to console but nothing to a specific file.
Beta Was this translation helpful? Give feedback.
All reactions