title: How to specify time zone for Java's GC log?
body: <p>I've configured my JVM to write Garbage Collection stats to a log file, with options like:</p>
  
  <p><code>-XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=64M</code></p>
  
  <p>The problem is, my application's server log uses UTC for log messages, but the GC log uses the server time zone, which is currently 4 hours behind UTC. This makes it a little harder to reconcile events in my server log with GC pauses.</p>
  
  <p>Is there any way to configure which time zone the Java GC log uses?</p>
  
  <p>I'm on Java 7.</p>