home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

system syslog file <filename> facility <facility> level <level>

Specifies which messages are sent to a user-defined log file.

set system syslog file filename facility facility level level
delete system syslog file filename facility [ facility [ level ] ]
show system syslog file filename facility [ facility [ level ] ]
filename
Multi-node. A file to which the specified log messages are written. A file name can include numbers, letters, and hyphens (-). Full path specifications are not accepted.

You can send log messages to multiple files by creating multiple file configuration nodes.

facility
Multi-node. The kinds of messages that are sent to the user-defined log file. Please see the Usage Guidelines in system syslog command for supported logging facilities.

You can send the log messages of multiple facilities to this log file by creating multiple facility configuration nodes within the file configuration 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 file.

The vRouter supports the sending of log messages to the main system log file, the console, a remote host, a user-specified file, or a user account.

Configuration mode


system {
    syslog {
        file filename {
            facility facility {
                level level
            }
        }
    }
}

Use this command to specify which messages are sent to a user-defined log file.

Use the set form of this command to specify which messages are sent to a user-defined log file.

Use the delete form of this command to restore the default message configuration for a user-defined log file.

Use the show form of this command to display the configuration for user-defined log file messages.