Can the JVM be instructed to log full GC events only?

Viewed 133

The flag -verbose:gc causes the JVM to log all garbage collection events to stdout. This contains useful information, but lives up to its name; a minor GC tends to occur every few seconds, so other information tends to get drowned in the flood.

Is there a way to tell it to log full garbage collection events only?

0 Answers
Related