Pathway/XM System Management Manual
PXMCOM Commands
Compaq NonStop™ Pathway/XM System Management Manual—426761-001
11-42
LOG1 and LOG2
Considerations
•
Before the LOG1 and LOG2 commands are used to specify a log file, all log
messages are sent to the system default file, $0. If two or more Pathway/XM
environments are running on the same physical system, both default to the same $0.
•
LOG1 and LOG2 command settings are stored in the current configuration portion
of the SuperCTL configuration file and are preserved during a cool and warm start,
but not during a cold start.
•
It is better to specify a disk file for logging than a terminal because log messages are
lost once they scroll off the terminal screen. Also, performance is generally better to
a disk file than to a terminal.
If the logging file is a terminal, it is best to use that terminal only for logging. If that
is not possible, restrict the activity on that terminal to avoid interfering with
messages from the PATHMON process. In either case, type “pause” at the TACL
prompt to suspend the TACL process so that logging can occur.
•
EDIT files are not acceptable log files to the PATHMON process. If you attempt to
use an EDIT file for a log, the PATHMON process returns an error and fails to open
the log.
•
If a logging command is used with no attributes, the corresponding log file is closed.
•
Logging of status messages is automatically disabled during execution of the STOP
PATHWAY command.
Examples
The following command logs errors and status change messages to $0, and formats the
messages as event messages:
LOG1 $0, EVENTFORMAT, STATUS
The following command sends error information to a terminal:
LOG2 $TERM1
The following command logs errors and status change messages in a file named
COMPLOG:
LOG2 COMPLOG,STATUS
The following command closes the LOG2 file:
LOG2
Note. If a logging terminal is unavailable, the PATHMON environment may slow down and
be unable to support transaction processing.