Systemd comes with many built-in features to manage the system logs. In this guide, they explain how you can manage system journals, logs and take action on them such as rotating, archiving, and clear logs. They also explain the manual systems journal clean method and using config file changes.
If your Linux distribution supports systemd, then it collects logs from all processes, applications of the system every second which starts from the boot. All these logging events are managed by journald daemon of systemd. The journald collects all the logs (info, warnings, errors, etc) and stores them as binary data in the disk files.
As the logs remain in the disk and every second it is collected, it takes up huge disk space; especially for older systems, and end up otherwise being GBs in size.
See A Guide to systemd journal clean up process [With Examples]
#technology #opensource #linux #filespace
Systemd comes with many built-in features to manage the system logs. In this guide, we explain how you can manage system journals, logs and take action on them such as rotating, archiving, and clear logs. We also explain the manual systems journal clean method and using config file changes. If your Linux distribution supports systemd,...
source https://gadgeteer.co.za/how-do-systemd-journal-maintenance-linux-save-space-log-files
Comments