Display the Configured Log File
Purpose
To display the log file in configuration mode.
Action
To display the log file in configuration mode, enter the following command:
[edit system syslog]
user@host# run show log filename
For example:
[edit system syslog]
user@host# run show log mw-configuration-changes
Sample Output
[edit system syslog] user@host# run show log mw-configuration-changes Sep 17 07:03:22 nut mgd[7793]: UI_CFG_AUDIT_OTHER: User 'root' override: /config/juniper.conf Sep 17 07:07:21 nut mgd[2751]: UI_CFG_AUDIT_OTHER: User 'root' set: [interfaces lo0 unit 0 family inet address 127.0.0.1/32] Sep 17 07:07:21 nut mgd[2751]: UI_CFG_AUDIT_SET: User 'root' set: [system domain-name] "englab.company.net" -> "englab.company.net" Sep 17 07:07:21 nut mgd[2751]: UI_CFG_AUDIT_OTHER: User 'root' set: [system name-server 172.17.28.101] Sep 17 07:07:22 nut mgd[2751]: UI_CFG_AUDIT_OTHER: User 'root' set: [system domain-search] "englab.company.net" Sep 17 07:07:22 nut mgd[2751]: UI_CFG_AUDIT_OTHER: User 'root' set: [system domain-search] "company.net" Sep 17 07:07:22 nut mgd[2751]: UI_CFG_AUDIT_OTHER: User 'root' set: [system domain-search] "jnpr.net"
Meaning
The sample output shows the contents of the log file and that the last configuration change was on September 17 at 07:07:22.