system syslog global facility <facility> level <level>
Specifies which messages are sent to the main system log file.
- facility
- Multi-node. The kinds of messages that are sent to the main system log file. Refer to “Usage Guidelines” for the system syslog command for supported facilities.
You can send the log messages of multiple facilities to the main system log file by creating multiple facility configuration nodes within the global node.
- level
- The minimum severity level of log message that are reported. The level is any of emerg, alert, crit, err, warning, notice, info, or debug. Refer to “Usage Guidelines” for the system syslog command for the meanings of these levels.
By default, messages of warning severity are logged to the main system log file.
Configuration mode
system {
syslog {
global {
facility facility {
level level
}
}
}
}
Use this command to specify which messages are sent to the main system log file.
Use the set form of this command to specify which messages are sent to the main system log file.
Use the delete form of this command to restore the default configuration for the main system log file.
Use the show form of this command to display the configuration for the main system log file.