configure Sun gc logging (JRE 1.6.0) with a rotating gc log

Posted by karink on Stack Overflow See other posts from Stack Overflow or by karink
Published on 2010-06-16T13:08:27Z Indexed on 2010/06/16 13:12 UTC
Read the original article Hit count: 536

Filed under:
|
|

Is it possible to configure Sun gc logging (JRE 1.6.0) with a rotating gc log. currently I use the following hotspot options for logging:

-XX:+PrintGCTimeStamps -verbose:gc -Xloggc:/gc.log -XX:+PrintGCDetails

gc.log increases very fast and therefore I'd prefer to have a rolling one.

© Stack Overflow or respective owner

Related posts about java

Related posts about jre