Configuration Guide Configuring Syslog
10. Mnemonic
This field indicates the brief information about the log. The mnemonic is an upper-case string of 4 to 32 characters, which
may include upper-case letters, digits, or underscore. The mnemonic field is mandatory in the log-type information, and
optional in the debug-type information.
11. Content
This field indicates the detailed content of the syslog.
 RFC5424 Log Format
The syslog format in the output direction is as follows:
<priority>version timestamp sysname MODULE LEVEL MNEMONIC [structured-data] description
For example, if you exit configuration mode, the following log is displayed on the Console:
<133>1 2013-07-24T12:19:33.130290Z ruijie SYS 5 CONFIG - Configured from console by console
The following describes each field in the log in details:
12. Priority
The priority is calculated using the following formula: Facility x 8 + Level. Level indicates the numerical code of the log level
and Facility indicates the numerical code of the facility. When the RFC5424 format is enabled, the default value of the facility
field is local0 (16).
13. Version
According to RFC5424, the version is always 1.
14. Timestamp
The timestamp records the time when a syslog is generated so that you can display and check the system event
conveniently. Ruijie devices use the following uniformed timestamp format when the RFC5424 logging function is enabled:
YYYY-MM-DDTHH:MM:SS.SECFRACZ
The following table describes each parameter of the timestamp.
YYYY indicates the current year.
MM indicates the current month.
DD indicates the current date.
The date must end with "T".
HH indicates the current hour.
MM indicates the current minute.
SS indicates the current second.
SECFRAC indicates the current millisecond (1–6 digits).
The time must end with "Z".
15. Sysname