The logit command logs the specified message in the logging files.
Synopsis
logit [-p {priority}] [-d {destinations}] message...
Description
The parameters for the logit command are described in the following table:
Parameter |
Description |
Comments |
-p {priority} |
Specifies the priority of the message being logged |
Options are:
|
-d {destinations} |
Specifies the destinations to which the message is to be sent |
By default MASTER_LOG is always included. The destination can be specified as either a number (for example, 0x11) or as a series of symbolic names separated by a plus sign (+), using the following list:
|
See the config and /vs/spool/log/head/log.h file for definitions. The symbolic names can be abbreviated to the shortest string that uniquely identifies one of the symbolic names.
Example
logit -d MASTER_LOG+ALERTERMSGS+0x40