Log Command Reference
Page 268 7705 SAR OS System Management Guide
Parameters syslog-level — the threshold severity level name. Values are described in the table below.
Values emergency, alert, critical, error, warning, notice, info, debug
Values 0 to 7
log-prefix
Syntax log-prefix log-prefix-string
no log-prefix
Context config>log>syslog syslog-id
Description This command adds the string prepended to every syslog message sent to the syslog host.
RFC 3164, The BSD syslog Protocol, allows an alphanumeric string (tag) to be prepended to the
content of every log message sent to the syslog host. This alphanumeric string can, for example, be
used to identify the node that generates the log entry. The software appends a colon (:) and a space to
the string and it is inserted in the syslog message after the date stamp and before the syslog message
content.
Only one string can be entered. If multiple strings are entered, the last string overwrites the previous
string. The alphanumeric string can contain lowercase (a-z), uppercase (A-Z) and numeric (0-9)
characters.
The no form of the command removes the log prefix string.
Default no log-prefix
7705 SAR
Severity Level
Syslog Severity
Level
(highest to lowest)
Configured
Severity
Definition
0 emergency System is unusable
3 critical 1 alert Action must be taken
immediately
4 major 2 critical Critical condition
5 minor 3 error Error condition
6 warning 4 warning Warning condition
5 notice Normal but significant condition
1 cleared
2 indeterminate
6 info Informational messages
7 debug Debug-level messages