Exam4Training

Which of the following files holds the system configuration for journal when running systemd?

Which of the following files holds the system configuration for journal when running systemd?
A . /etc/systemd/journald.conf
B . /etc/systemd/systemd-journalctl.conf
C . /usr/lib/systemd/journalctl.conf
D . /etc/systemd/systemd-journald.conf

Answer: A

Explanation:

The file that holds the system configuration for journal when running systemd is /etc/systemd/journald.conf. This file contains various settings that control the behavior of the journald daemon, which is responsible for collecting and storing log messages from various sources. The journald.conf file can be edited to change the default values of these settings, such as the storage location, size limits, compression, and forwarding options of the journal files. The file also supports a drop-in directory /etc/systemd/journald.conf.d/ where additional configuration files can be placed to override or extend the main file.

Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 18: Automating Tasks; journald.conf(5) – Linux manual page

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version