Compaq AA-Q88CE-TE Network Router User Manual


 
LOG
LOG
Specify RTR to write a log message to a log file.
Format
LOG
Command Qualifiers Defaults
/CLUSTER /NOCLUSTER
/NODE=node-list /NODE=default-node-list
/OUTPUT[=file-spec] /OUTPUT=stdout
Description
The
LOG
command specifies a defined log entry to be written to its log messages.
You can write log messages to the operator console and to a maximum of four log
files. Log files must be periodically purged to avoid difficulties with full disks. Do
this by using
SET LOG
to specify a new file and deleting the old one.
If neither the
/OPERATOR
nor the
/FILE
qualifier is specified then logging is
suppressed.
Qualifiers
/CLUSTER
/NOCLUSTER (D)
Specifies that the command is executed on all the nodes in the cluster.
If neither
/NODE
nor
/CLUSTER
is specified then the command is executed on the
nodes specified by the latest
SET ENVIRONMENT
command. If no
SET ENVIRONMENT
command has been entered then the command is executed only on the node where
the command was issued.
Note: In environments that do not support clustering, use of the /CLUSTER
qualifier will cause the relevant command to be executed on the local node only.
/NODE[=node-list]
/NODE=default-node-list (D)
Specifies that the command is executed on all nodes specified in
node-list
.If
node-list
is omitted then the command is executed only on the node where the
command was issued.
/OUTPUT[=file-spec]
/OUTPUT=stdout (D)
Specifies that the resulting information is written to the file
file-spec
.If
/OUTPUT
or
file-spec
is omitted then the standard or default output is used.
Related Commands
SHOW LOG
6–96 RTR Command Line Interface