NET/MASTER Management Services (MS) Command Reference Manual
LBANNER
LOG
NonStop NET/MASTER MS Commands
2–148 115412 Tandem Computers Incorporated
LOG The LOG command logs a message to the NonStop NET/MASTER MS activity log.
The activity log is a chronological record of all important activity. The LOGPROC
NCL procedure (if active) intercepts and processes messages sent to the log. You can
browse through the activity log online using Log Browse. Entering the LOG command
with no operands logs the time, terminal, and user ID of the person entering the
command without logging a message.
LOG [
message-text
]
message-text
specifies the message to log. If the command is entered from a command input
line, the maximum length of
message-text
is determined by the length of the
command input line. If the command is entered from an NCL procedure, the
maximum length of
message-text
is 2023 characters long. The message is
truncated if the maximum length is exceeded.
The message is logged with the time, terminal, and user ID of the person entering
the command.
Considerations
The default authority level of this command is 0.
You can enter this command from any NCL procedure, including the INIT NCL
procedure, by using either the CMD core statement or the INTCMD verb.
This command logs the following message in the activity log:
time
terminal
id
NNM1500 ===> LOG ENTRY:
text
In Log Browse, you can use the F10 function key to rotate between three display
formats: normal (time and message), full (time, terminal, user ID or NCL process
identifier, and message), and short (message only).
This command displays the following message on your OCS window:
NNM1501 MESSAGE LOGGED TO ACTIVITY LOG
This message is not recorded in the activity log.
When you use this command to log a message, NonStop NET/MASTER MS
prefixes the message with ===>. You can use this string to assist in locating
messages while using Log Browse.
For related information, see the LOGSWAP and SHOW LOGS commands.