I am redirecting the gradle output as below. gradle --i --profile >e:\log.txt I can see the logs are redirected except the compilation errors. If the build fails due to any compilation error then the compilation error is printed on the console instead of the redirected log file. Please let me know ho w do we redirect the vompilation error to a log file. Thanks, Mani
It’s probably a matter of redirecting both std out and std err.
I am new to gradle…can you please tell me how to do this?
Thx Peter…I missed 2>&1