Is there a way to forward the garbage collection information (for example the output of -XX:+PrintGCDetails or -verbose:gc) to a logger within the Java application (sl4j + logback in my case)?
Is there a way to forward the garbage collection information (for example the output
Share
Those messages are generated by the JVM native process and not from Java code, so you just can
-Xloggc(no rotation)