in reply to Re^2: Copy STDOUT and STDERR to logfile and also display to screen
in thread Copy STDOUT and STDERR to logfile and also display to screen
regarding your other comment: It works, but now you've got two copies of every message
Could you please explain what do you mean by copy? it writes the same msg twice but it does it in two different places...the output on the screen will not have dups and the output in the log will not have dupliactes...
if you say it is inefficient to do it this then i would agree but i am not sure whether i understand the term "copy" there.
thanks
SK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Copy STDOUT and STDERR to logfile and also display to screen
by Fletch (Bishop) on Aug 10, 2005 at 18:23 UTC | |
by sk (Curate) on Aug 10, 2005 at 18:26 UTC |