title: Redirect System.out.println to log
body: <p>In my project test suite there is big usage of</p>
  
  <pre><code>System.out.println 
  </code></pre>
  
  <p>I'm trying to redirect these output to log file (through configuration or from single point without refactoring whole project ) so that can be disabled when necessary to improve performance. I'm using log4j for logging.
  Does any one know is this possible ? if so how to do it ?
  Thanks in advance.</p>