Examples:



next up previous contents
Next: lumin Up: log Previous: log

Examples:

In these examples we assume that the current log chatter value is 10 and the commands are being processed in a command file that was invoked from the terminal level using the @ convention, so that the nesting level is one.

XSPEC> log            ! Turn on the log file (default x spec.log).
                        Commands will not be logged from
                        the indirect file, but will be logged on
                        return to the terminal level.

XSPEC> log none ! Close the log file.

XSPEC> log mylog 9 ! Open the log file (mylog.log) and now even the indirect commands will be logged (at least for the first level of indirection).

XSPEC> log ,, 12 0 ! Now even at the terminal level the commands are not logged.

XSPEC> chatter ,, 12 ! Modifying the log file chattiness will restore command logging even at arbitrarily deep levels of indirection.



Keith Arnaud (kaa@genji.gsfc.nasa.gov)
Mon Sep 18 14:36:38 EDT 1995