English Chinese (Simplified)
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: 不使用 systemd 日志的系统工具会继续将日志以文本形式保存在 `/var/log/` 目录下。在 Fedora 中有两种方式查看系统日志:
The command line 命令行
A GUI applications 图形界面程序
Log files contain messages about the system, including the kernel, services, and applications running on it. 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. 日志文件包含了有关系统运行的消息记录,包括在系统中运行的内核、服务、应用程序等各种信息。这些信息可以协助解决问题,或者监控系统状态。Fedora 使用 https://freedesktop.org/wiki/Software/systemd/[systemd] 作为系统和服务管理器。在 systemd 中,多数服务的消息存储在 systemd 日志中,该日志以二进制文件保存,访问时需要使用 `journalctl` 命令。