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 3. For more information about the configuration statements, see Configuring System Logging for a Single-Chassis System.
Table 3: 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 ;
} |
Routing platform console | [edit system syslog]
console {
facility severity ;
} |
Remote machine or the other Routing Engine on the routing platform | [edit system syslog]
host (hostname | other-routing-engine) {
facility severity ;
} |