Command Reference Syslog Commands
8.35 service log-format rfc5424
Use this command to enable the RFC5424 format. Use the no form of this command to restore the
default setting.
service log-format rfc5424
no service log-format rfc5424
The RFC3164 format is used by default.
Global configuration mode
After the RFC5424 format is enabled, the service sequence-numbers, service sysname, service
timestamps, service private-syslog and service standard-syslog commands become invalid and
hidden.
After switching back to the RFC3164 format, the logging delay-send, logging policy and logging
statistic commands become invalid and hidden.
After switching the log format, the results of running the show logging and show logging config
commands change,
The following example enables the RFC5424 format.
Ruijie(config)# service log-format rfc5424
8.36 service private-syslog
Use this command to set the syslog format to the private syslog format. Use the no form of this