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:
(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:
From configuration mode, access the configuration statement that configures the system log server.user@host# edit system syslog
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