System.out to a file in java
- by Carlos Blanco
I'm running an application from inside another one for testing pusposes. I want to redirect the output for the tested app to a file, so I can have a log after each test.
Is there to redirect the output of an app to a file from the command line in java?