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
As a Linux System Administrator, mastering the command line is key to efficiently managing servers,…
Introduction WireGuard is a fast, lightweight, and modern VPN protocol designed for simplicity and performance.If…
Securing your website with HTTPS is essential for privacy, SEO ranking, and user trust. Let’s…
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…
This website uses cookies.