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