Re: Journald retaining logs for only 10 days

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux