Navigation
Supported Platforms
Related Documentation
Junos OS Minimum System Logging Configuration
To record or view system log messages, you must include the syslog statement at the [edit system] hierarchy level. Specify at least one destination for the messages, as described in Table 1. For more information about the configuration statements, see Single-Chassis System Logging Configuration Overview.
Table 1: Minimum Configuration Statements for System Logging
Destination | Minimum Configuration Statements |
---|---|
File | [edit system syslog] file filename {facility severity;} |
Terminal session of one, several, or all users | [edit system syslog] user (username | *) {facility severity;} |
Router or switch console | [edit system syslog] console {facility severity;} |
Remote machine or the other Routing Engine on the router or switch | [edit system syslog] host (hostname | other-routing-engine) {facility severity;} |