Hello Karel!
Sunday December 20 2020 09:25, you wrote to Kai Richter:
....
> Actually fighting that idea of journalctl. OK, nice, new, complex,
> holistic...
> There is usualy one need: to keep logs for certain amount of time
> (based on SLA, based on law, etc.) Looks to me that design focused to
> zillion switches how to influence/keep disk space, but how to achieve
> that I have 100% of time frame logged is not so easy. Shall I try to
> calculate disc space? Shall I rather put there all space to be sure?
> From man: "...Normally, time-based deletion of old journal files
> should not be required as size-based deletion with options such as
> SystemMaxUse= should be sufficient to ensure that journal files do not
> grow without bounds..."
Look at logrotate which is the normal product to control journal files in
/var/log
Vincent
--- Mageia Linux v7.1 X64/Mbse v1.0.7.17/GoldED+/LNX 1.1.5-b20180707
* Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
|