Log Command Reference
280 7705 SAR OS System Management Guide
The no form of the command reverts to the default value.
Parameters syslog-level — the threshold severity level value as described in Table 39.
Values 0 to 7
log-prefix
Syntax log-prefix log-prefix-string
no log-prefix
Context config>log>syslog
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
Table 39: Threshold Severity Level Values
7705 SAR
Severity Level
Syslog Severity
Level
(highest to lowest)
Configured
Severity
Definition
3 critical 0 emergency System is unusable
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