From e8b87f113e656dc367943d928a1ecfec229e1f92 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Fri, 5 Apr 2019 12:17:51 +0100 Subject: [PATCH] Improve systemd introduction This clarifies that services that use systemd no longer place their logs in plain text files. --- modules/ROOT/pages/_partials/con_viewing-logs.adoc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/ROOT/pages/_partials/con_viewing-logs.adoc b/modules/ROOT/pages/_partials/con_viewing-logs.adoc index 87205a7..21f78ac 100644 --- a/modules/ROOT/pages/_partials/con_viewing-logs.adoc +++ b/modules/ROOT/pages/_partials/con_viewing-logs.adoc @@ -1,14 +1,13 @@ [id='viewing-logs in Fedora'] = Viewing logs in Fedora -Fedora uses https://freedesktop.org/wiki/Software/systemd/[systemd] which provides the `journalctl` tool to view various logs generated by system commands. - Log files contain messages about the system, including the kernel, services, and applications running on it. -There are different log files for different information. -For example, there is a default system log file, a log file for security messages, and a log file for cron tasks, this is an important task when you try to find any class of problem in your system and help you to resolve any issue. +These contain information that helps troubleshoot issues, or simply monitor system functions. +Fedora uses the https://freedesktop.org/wiki/Software/systemd/[systemd] system and service manager. +With systemd, messages for most services are now stored in the systemd journal which is a binary file that must be accessed usinng the `journalctl` command. -Most log files are located in the `/var/log/` directory. -In Fedora, there are two ways to open the log files: +System tools that do not use systemd for their logs continue to place them as plain text files in the `/var/log/` directory. +In Fedora, there are two ways of accessing system logs: * The command line * A GUI applications