Ingo, On Thu, Apr 13, 2023 at 06:04:04PM +0200, Ingo Brückl wrote: > On Wed, 12 Apr 2023 09:58:27 +0100 Mark Hindley <[email protected]> wrote: > > > + savelog -q -p -n -c 5 /var/log/boot > > What about: > > [ -e /etc/logrotate.d/boot ] || savelog -q -p -n -c 5 /var/log/boot
I am not convinced that logrotate is a better tool here. It is designed for the routine rotation of logs. /var/log/boot is written at the end of the boot process and then is unchanged until the next boot. Savelog makes more sense to me for that use. Or am I missing your point? Thanks Mark

