TS/MP System Management Manual (G06.24+, H06.03+)
PATHMON Environment Control Commands
NonStop TS/MP System Management Manual—541819-001
11- 8
LOG1 and LOG2 Commands
LOG1 and LOG2 Commands
Use the LOG1 and LOG2 commands to name the files that the PATHMON process
and the Pathway/iTS TCPs use for reporting errors and changes in object status. The
PATHMON process generates either text or event messages for each log file; you
specify which type of message the PATHMON process generates. Event messages
are used for reporting to an operator or application program through the Event
Management Service (EMS), a part of Distributed Systems Management (DSM). For
more information about Pathway environment event messages, see the
TS/MP
Management Programming Manual
and the
Pathway /TS Management Programming
Manual
.
The PATHMON process records whether logging is enabled or disabled in the
PATHMON configuration file. After a cool start (that is, a start which uses an already
existing PATHMON configuration file), the log files are set to the state indicated in the
PATHMON configuration file.
Two logging commands are provided (that is, LOG1 and LOG2) to allow two copies of
the information.
file-name
specifies the name of a file to receive error reports and changes in status. If you
specify a disk file, the file must exist. You must create the file, by using the
command interpreter or the FUP CREATE command, before issuing a LOG1 or
LOG2 command.
You need not specify a fully-qualified file name for a log file. If you leave the node
name unspecified, LOG1 and LOG2 will always run on the node where the
PATHMON process is running. If you explicitly specify the node name as \* (a
generic name that indicates the node where the PATHMON process is running at
any given time), PATHCOM will accept the \* specification. However, when you
use the STATUS or INFO commands to display information about your
environment, the \* is not displayed as part of the log file name.
If you omit this attribute, any current log file is closed.
LOG1 [ file-name [ , logparam [ , logparam ] ] ]
LOG2 [ file-name [ , logparam [ , logparam ] ] ]
logparam is:
STATUS
EVENTFORMAT
Caution. If you turn off logging by closing a current log file, all internally queued messages are
lost.