nerdexam
Linux_Foundation

LFCA · Question #66

An IT associate would find the log files for syslog in which of the following directories?

The correct answer is A. /var/log. In Linux systems, syslog and most other system-wide log files are conventionally stored within the /var/log directory.

Submitted by naveen.iyer· May 4, 2026Linux Fundamentals

Question

An IT associate would find the log files for syslog in which of the following directories?

Options

  • A/var/log
  • B/usr/local/logs
  • C/home/logs
  • D/etc/logs

How the community answered

(29 responses)
  • A
    86% (25)
  • B
    3% (1)
  • C
    7% (2)
  • D
    3% (1)

Why each option

In Linux systems, syslog and most other system-wide log files are conventionally stored within the `/var/log` directory.

A/var/logCorrect

The `/var/log` directory is the standard location specified by the Filesystem Hierarchy Standard (FHS) for storing various system log files, including those generated by `syslog` and other system services and applications.

B/usr/local/logs

`/usr/local/logs` is not a standard directory for system logs; `/usr/local` is typically for locally compiled software.

C/home/logs

`/home/logs` is incorrect because the `/home` directory is designated for user-specific data, not for system-wide log files.

D/etc/logs

`/etc/logs` is incorrect as the `/etc` directory primarily contains configuration files for the system and installed applications, not log files.

Concept tested: Linux log file locations

Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s08.html

Topics

#Log files#Filesystem hierarchy#syslog

Community Discussion

No community discussion yet for this question.

Full LFCA Practice