title: What is a good set of default settings to use for GC logging in Java 9+?
body: <p>Prior to Java 9 I was familiar with a set of "mandatory" (as recommended in <a href="https://learning.oreilly.com/library/view/optimizing-java/9781492039259/ch08.html#pracjavaperf-CHP-8" rel="nofollow noreferrer">Optimizing Java</a>) flags for GC logging that I would enable for instances of a JVM. These were:</p>
  
  <pre><code>-Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps
  </code></pre>
  
  <p>With Java 9 and the introduction of <a href="https://openjdk.java.net/jeps/271" rel="nofollow noreferrer">Unified GC Logging</a> is are there any recommendations for an equivalent set of "mandatory" GC logging settings?</p>