Junos OS Default System Log Settings
Table 1 summarizes the default system log settings that apply to all routers that run the Junos OS, and specifies which statement to include in the configuration to override the default value.
Table 1: Default System Logging Settings
Setting | Default | Overriding Statement | Instructions |
---|---|---|---|
Alternative facility for message forwarded to a remote machine | For change-log: local6 For conflict-log: local5 For dfc: local1 For firewall: local3 For interactive-commands: local7 For pfe: local4 | [edit system syslog]host hostname {facility-override facility;} | Changing the Alternative Facility Name for Remote System Log Messages |
Format of messages logged to a file | Standard Junos format, based on UNIX format | [edit system syslog]file filename {structured-data;} | |
Maximum number of files in the archived set | 10 | [edit system syslog]archive {files number;}file filename {archive {files number;}} | |
Maximum size of the log file | J Series: 128 kilobytes (KB) M Series, MX Series, and T Series: 1 megabyte (MB) TX Matrix: 10 MB | [edit system syslog]archive {size size;}file filename {archive {size size;}} | |
Timestamp format | Month, date, hour, minute, second For example: Aug 21 12:36:30 | [edit system syslog]time-format format; | |
Users who can read log files | root user and users with the Junos maintenance permission | [edit system syslog]archive {world-readable;}file filename {archive {world-readable;}} |