Interpreting Messages Generated by a JUNOS Process or Library
The syntax of a message generated by a JUNOS software process or subroutine library differs depending on whether it includes priority information:
- When the
explicit-prioritystatement is included at the[edit system syslog filefilename]or[edit system syslog host(hostname| other-routing-engine)]hierarchy level, a system log messages has the following syntax:timestampmessage-source:%facility-severity-tag:message-textWhen directed to the console or to users, or when the explicit-prioritystatement is not included for files or remote hosts, a system log message has the following syntax:timestampmessage-source:tag:message-textTable 17 describes the message fields.
Text string that uniquely identifies the message, in all uppercase letters and using the underscore (_) to separate words. The tag name begins with a prefix that indicates the generating software process or library. The entries in this reference are ordered alphabetically by this prefix.
Not all processes on a routing platform use tags, so this field does not always appear.
For a list of prefixes for the tags described in this reference, see System Log Messages.
Code that specifies the facility to which the system log message belongs. For a mapping of codes to facility names, see Table 11.
Identifier of the process or component that generated the message and the routing platform on which the message was logged. This field includes two or more subfields, depending on how system logging is configured. See Format of the message-source Field.
Text of the message. For the text for each message, see the chapters following System Log Messages.
Numerical code that represents the severity level assigned to the system log message. For a mapping of codes to severity names, see Table 12.