trace to file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

trace to file

Mike Cowlishaw-2
Depends on the platform.  In Windows NT, Unix, or OS/2, you'd do something like:

    nrc -run hello 2> trace.log

On Windows 95 the stderr output cannot be redirected (<sigh>), so you have to
use the TRACE1 option and capture all of the output to file:

  nrc -run -trace1 hello > trace.log


Mike Cowlishaw, IBM Fellow, IBM UK Laboratories
mailto:[hidden email]   [http://www2.hursley.ibm.com]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: trace to file

K.-P. Kirchdoerfer
On Tue, 03 Mar 1998 09:31:57 +0100, Andreas Zieritz wrote:

>Is it possible to redirect the 'trace result' - output to a file?

To get the standard output and the error output the OS/2 command
looks like:

java myprog > output_file 2>&1

Cause this is from the linux users guide it should run on linux too.

kp

--
K.P.Kirchdoerfer                      Voice:   +49 431 15479
24116 Kiel                            E-Mail: [hidden email]

Mission Of Dead Souls


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>