Linux Log Files and Mgmt
2025-01-08
/var/log
apt/history.log
boot.log
kern.log
- kernel info, such as warnings, errors, ...syslog
- System logs, such as kernel activitiesXorg.log
- graphics driver, its failures, warnings, etc.journalctl --list-boots
Logging is mostly handled by the journalctl
utility.
journalctl
- provides required logs.
Logs are stored in binary in /var/lib/systemd/catalog/database
file.
This file enumerates all logs incl. kernel, boot and app logs.
See also: Basic Log Viewing.