By default, which Junos directory contains the primary syslog file?
By default, which Junos directory contains the primary syslog file?
By default, the primary syslog file in Junos is stored in the /var/log directory. This directory is typically used for system log files, including the primary syslog file, where various log files related to system events and processes are kept.
Ref: Junos® OS Overview for Junos OS | Juniper Networks Page 23 “… • /var—This directory is located either on the hard drive (device wd2) or internal flash storage. It contains the following subdirectories: … • /log—Contains system log and tracing files. …” Answer: A
By default, the primary syslog file in Junos is located in: A. /var/log The /var/log directory is the default location for storing system log files, including the primary syslog file, in Junos. This directory contains various log files related to system events, processes, and services running on the device. The primary syslog file captures and stores syslog messages generated by the device, which can be useful for troubleshooting and monitoring purposes.
/var/log (has the system logs)