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. All log files are rotated daily. When a new log file is created, the previous day’s file is compressed and saved. After rotation, the software retains only the last five compressed log files.
To configure the system log server to send messages to a file on the local C-series Controller:
For example, to configure the system log server to save critical messages generated by authentication and authorization attempts to the file named access: