HP StorageWorks Secure Path V3.0C for Linux and Linux Workgroup Edition Installation and Reference Guide (AA-RU7VD-TE, February 2004)
Managing Secure Path
79Secure Path v3.0C for Linux and Linux Workgroup Edition Installation and Reference Guide
The log command
Syntax:
# spmgr log -l (level 0, 1,2,3)
-c (level 0, 1,2,3)
-n (level 0, 3)
The numerical level indicates the message severity. The levels of severity are:
1: Critical, 2: Warning, 3: Informational
When you select a numerical level, messages of that severity and higher are
delivered to the appropriate output.
■ If 3 is selected, then 3, 2, 1 are logged.
■ If 2 is selected, then 2, 1 are logged.
■ If 1 is selected, then 1 is logged.
■ If 0 is selected, then logging is disabled for that item.
# spmgr log -l [0, 1..3]
This command sets the level of logging to the syslog of the server. When you
select level 1…3, the messages of that severity and higher are written to the
syslog file. The default is 2.
# spmgr log -c [0,1..3]
This command sets the level of logging to the console. When you select level 1..3,
the messages of that severity and higher are displayed on the console. The default
is 1.