I want to see my jnlp stdout in a log file. Please suggest. P.S. I jnlp is run under windows and log4j logger is used
Asked
Active
Viewed 4,140 times
1
-
2http://stackoverflow.com/questions/1200175/log4j-redirect-stdout-to-dailyrollingfileappender – DevZer0 Jul 01 '13 at 08:39
-
1Possible Duplicate: **[Redirect System.out and System.err](http://stackoverflow.com/questions/14715748/redirect-system-out-and-system-err)** and **[Redirect System.out and System.err to slf4j](http://stackoverflow.com/questions/11187461/redirect-system-out-and-system-err-to-slf4j)** – Siva Charan Jul 01 '13 at 08:41
1 Answers
4
The System class has a setOut() and setErr() methods that can be used to change the output stream.

Ammar
- 2,387
- 1
- 14
- 12