Systemd has its own logging system called the journal, and the log files are stored in /var/log/journal
.
sudo journalctl --disk-usage
sudo journalctl --rotate
sudo journalctl --vacuum-time=5days
sudo journalctl --vacuum-size=200M
sudo journalctl --vacuum-files=10
The configuration file is located at /etc/systemd/journald.conf
. After editing to your preference, reload systemd daemon using sudo systemctl daemon-reload
If you manage Linux servers regularly, you know how important SSH (Secure Shell) is. Whether…
If you’re new to Linux or thinking about switching from Windows or macOS, this guide…
Introduction Site Reliability Engineering (SRE) has become a critical discipline in modern IT operations. The…
Updated: August 17, 2025 A practical guide to the best free CRM (Customer Relationship Management)…
If you run a VPS or dedicated server with Linux, you probably know that managing…
Short summary: Use built-in Linux tools (`who`, `last`, `journalctl`, `/var/log/auth.log`) and optional audit logs to…
This website uses cookies.