Log destinations
When logging is enabled, system log messages are always written to the messages file in the /var/log directory of the local file system. In addition, system logs can be sent to the console, a named file in the local file system, a server running the syslogd utility (that is, a syslog server), or the terminal session of one or more specific users.
- To direct syslog messages to the console, use the system syslog console command.
- To direct syslog messages to a named file in the local file system, use the system syslog file command.
- To direct syslog messages to a remote machine running the syslogd utility, use the system syslog host command.
- To direct syslog messages to the terminal of a specific user, multiple users, or all users logged in to the routing platform, use the system syslog user command.