title: Junit console output to log
body: <p>I want to know,</p>
  
  <p>How can I get <strong>Junit</strong> console output to log file?</p>
  
  <p>As example, I have put <code>Assert.equals()</code> methods. I want to know passed method and what are the failed methods also.  I tried to find method to do that, but I was unable.</p>