Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Saving System Log Messages to a File (SRC CLI)

    Use the following statements to configure the system log server to store messages in a file:

    system syslog file file-name (any | authorization | daemon | ftp | kernel | user | local7) {
    (any | emergency | alert | critical | error | warning | notice | info | none);


    By default, message files are stored in the /var/log directory. Log files are rotated and compressed according to the settings in the logrotate utility.

    To configure the system log server to send messages to a file on the local C Series Controller:

    1. From configuration mode, access the configuration statement that configures the system log server.
      [edit]user@host# edit system syslog
    2. Specify the name of the file to store messages, and group and severity level for the messages.
      [edit system syslog]user@host# set file file-name message-group severity

      For example, to configure the system log server to save critical messages generated by authentication and authorization attempts to the file named access:

      [edit system syslog]user@host# set file access authorization critical

    Published: 2014-12-10