in reply to execution log
script_name > output_file 2>&1
which directs STDOUT of the script into the "output_file" and also directs STDERR (file descriptor 2) into STDOUT (file descriptor 1). That way, you can get both STDOUT and STDERR into one file. I'm not sure what you would do in a MS Windows environment, perhaps other Monks can tell you (and me) what to do there.
I hope this is of use.
Cheers,
JohnGG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: execution log
by ikegami (Patriarch) on May 04, 2006 at 20:59 UTC | |
|
Re^2: execution log
by yburge (Acolyte) on May 04, 2006 at 23:34 UTC | |
by johngg (Canon) on May 07, 2006 at 12:45 UTC |