Configuring the Syslog Host
After you configure the syslog server IP address, the log files will be sent to the syslog server.
admin@XorPlus# set system syslog server-ip 192.168.1.1 ? Possible completions: <[Enter]> Execute this command port Remote syslog server port protocol Remote syslog server protocol admin@XorPlus# set system syslog server-ip 192.168.1.1 protocol tcp admin@XorPlus# commit Commit OK. Save done. admin@XorPlus#
- Configuration of nodes "system syslog host", "system syslog port-number", and "system syslog port-protocol" have been deprecated in version 2.4.
- It is recommended to configure UDP protocol as the port protocol.
Configuring Syslog for Local Storage
You can configure syslog messages to be stored in RAM or in a local SD card.
XorPlus# set system syslog local-file disk XorPlus# commit Waiting for merging configuration. Commit OK. Save done. XorPlus# XorPlus# set system syslog local-file ram XorPlus# commit Waiting for merging configuration. Commit OK. Save done. XorPlus#