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 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…
Whether you're a new Linux user or a beginner sysadmin, mastering the terminal is a…
Choosing the right Content Management System (CMS) is key when you're building a blog, portfolio,…
Securing your Linux server is a critical task for every sysadmin. One of the simplest…
As a Linux system administrator, understanding what happens on your network is crucial. One of…
This website uses cookies.