title: Maven logs in the output file and also in the console
body: <p>I need to see the Maven logs in the file and also in the console.</p>
  
  <p>If I try using <code>mvn clean install &gt; log.txt</code>. Logs are storing in the file only, console output is not displaying.</p>
  
  <p>Can anyone please suggest how to display the logs in the console and also to store in the file in the Maven Build?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Regards,
  Karthik</p>