I have 'System.out' lines in jsp/servlet pages, for basic debug purpose. Since the default system.out and system.err devices are the screen, the output information I specified are all mixed with
Tomcat's embedded msg.
I want to seperate the information, e.g. let Tomcat intact, but output my system.out to somewhere else, such as a plain text file.
Instead of writing a redirect program by my own, I remember there's a way to change teh default output device for JVM, but how? your inputs are very appreicated...