I want to learn about and manage the directory /var/log/journal/ in ubuntu 18.04
- What data is logged to it and when?
- Is there any issue in deleting all files from that directory?
- Is there any way to set delete old data (eg. 1 month)?
I want to learn about and manage the directory /var/log/journal/ in ubuntu 18.04
I have learned it in weak end - adding a short note here
journald is - systemd’s logging service
Journalctl is a utility for querying and displaying logs from journald
the logs are stored in /var/log/journal/ (except, when we delete the directory)
we can manage the size and etc in /etc/systemd/journald.conf
useful journalctl commands
© 2022 - 2024 — McMap. All rights reserved.
Refer this link to solve the issue
- askubuntu.com/questions/1238214/big-var-log-journal – Transmittal