JN0-102 · Question #348
What is the default local location for syslog and trace files?
The correct answer is C. /var/log. The default local location for syslog and trace files on a Junos OS device is the /var/log directory. This is a standard practice in Unix-like operating systems for storing system logs and variable data.
Question
What is the default local location for syslog and trace files?
Options
- A/log
- B/home/log
- C/var/log
- D/etc/log
How the community answered
(29 responses)- A3% (1)
- B3% (1)
- C93% (27)
Why each option
The default local location for syslog and trace files on a Junos OS device is the `/var/log` directory. This is a standard practice in Unix-like operating systems for storing system logs and variable data.
`/log` is not a standard default directory for logs in Junos OS.
`/home/log` is incorrect; `/home` directories are typically for user-specific data, not system logs.
In Junos OS, as with many Unix-like systems, `/var/log` is the standard and default directory for storing system log files and trace information.
`/etc/log` is incorrect; `/etc` typically stores configuration files, not log files.
Concept tested: Junos OS default log file location
Source: https://www.juniper.net/documentation/us/en/software/junos/system-management/topics/topic-map/system-log-overview.html
Topics
Community Discussion
No community discussion yet for this question.