title: How to disable console output from TestNG?
body: <p>How can I disable all console output when running TestNG programmatically via TestNG.run()? I've tried</p>
  
  <pre><code>   testNG.setUseDefaultListeners( false );
  </code></pre>
  
  <p>which does not make any change.</p>