Redirecting process output to shell
I've got a Java program (JRun, actually) that spawns multiple threads (shown as processes when using the "ps" command). I am interesting in seeing the output of *one* of these threads.
The main program outputs into an output log that I don't have any control over . And I *only* want to see the output of *one* of the threads of the main program.
My question is: How do I redirect the output of a single running thread to the current shell so that I can watch it?