Configuring Audit Log Options in the Evaluated Configuration
The following section describes how to configure audit log options in the evaluated configuration.
Configuring Audit Log Options for MX240, MX480, MX960, MX2010, and MX2020 Devices
To configure audit log options for MX240, MX480, MX960, MX2010, and MX2020 devices:
- Specify the number of files to be archived in the system
logging facility.[edit system syslog]root@host#set archive files 2
- Specify the file in which to log data.[edit system syslog]root@host#set file syslog any any
- Specify the size of files to be archived.[edit system syslog]root@host#set file syslog archive size 10000000
- Specify the priority and facility in messages for the
system logging facility.[edit system syslog]root@host#set file syslog explicit-priority
- Log system messages in a structured format.[edit system syslog]root@host#set file syslog structured-data