0

will the parameter %t also perform log rotation for collecting GC logs?

-Xloggc:/data/logs/gc-%t.log
shaunax32
  • 1
  • 2

1 Answers1

0

You should enable logging by unlocking -XX:+UseGCLogFileRotation

See also Rolling garbage collector logs in java

AlBlue
  • 23,254
  • 14
  • 71
  • 91