[systemd-devel] Journald retaining logs for only 10 days

Uoti Urpala uoti.urpala at pp1.inet.fi
Sat Nov 14 15:27:30 UTC 2020


On Sat, 2020-11-14 at 09:31 +0000, Nikolaus Rath wrote:
> # journalctl --disk-usage
> Archived and active journals take up 320.0M in the file system.
> 
> # journalctl > alllogs
> # ls -lh alllogs 
> -rw-r--r-- 1 root root 27M Nov 14 09:24 alllogs

The journal stores a lot of metadata for each log entry, so the
"alllogs" size is not a good indicator of disk space requirements.
Use "journalctl -o verbose" to see all information that is actually
stored.

So basically I believe this is (at least mostly) a case of the
configured space not being enough to store more logs, given all the
metadata space requirements.




More information about the systemd-devel mailing list