title: jconsole redirect output log to file
body: <p>How can I save jconsole output in log file ?  </p>
  
  <p>I tried adding logging.properties but it has been ignored:</p>
  
  <pre><code>jconsole.exe -Jjava.util.logging.config.file=logging.properties -debug
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>jconsole.exe -Djava.util.logging.config.file=logging.properties -debug
  </code></pre>
  
  <p>Currently I'm getting Jconsole Output window with minimum logs as:</p>
  
  <pre><code>java.lang.SecurityException: Expecting a javax.rmi.ssl.SslRMIClientSocketFactory RMI client socket factory in stub!
      at javax.management.remote.rmi.RMIConnector.checkStub(RMIConnector.java:1875)
      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:295)
      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
      at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:357)
      at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:313)
      at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:294)
  sorting table against column=0 ascending=true
  sorting table against column=0 ascending=true
  sorting table against column=0 ascending=true
  </code></pre>
  
  <p>I have also option to suppress, but I don't want it</p>
  
  <blockquote>
    <p>Use '--console suppress' to suppress console output.</p>
  </blockquote>