LOG
From CometWiki
LOG Syntax: LOG device-name LOG file-name[,directory-name] LOG OFF LOG TERMINAL
Placement: Place the LOG command before the REPORT command. Discussion: The LOG command specifies the file or device where a log of the reporting process is recorded. The log begins to record information from the point where the LOG command is included in the specification file and continues to record information through the end of the report, or until it encounters a LOG OFF command.
To log information to a device, follow the LOG with the three-character device name (e.g., LP1, T03) where the log should display.
To log information to a file, use LOG followed by the file-name and directory-name.
To log information to your current terminal, enter LOG TERMINAL.
To turn the log function off, enter LOG OFF.