I was perplexed to find that, when running for instance journalctl -f
showed my logs to stop on Apr 20th, 8 months ago. I piped to less, journalctl | less
and pressed G
to go to the end, same thing.
Then I did journalctl | less
and went down 'slowly' (ctrl+d
), this way I was able to go way further than Apr 20th...
Theres a LOT in the logs! I think it is because there's a limit on what is being loaded. However, shouldn't the logs get rotated? Or somehow pruned without user intervention?
In my journald.conf
SystemMaxFileSize
/SystemMaxUse
isn't set (a solution I found here).
I could try the above, but I kinda want to get to the bottom of it.
I'm on Manjaro 5.8.18-1.
Any help or insights are greatly appreciated. Thanks!
systemd
suite has been under rapid development in recent years: note that the original question was posted in December 2020. Perhaps the then-current version of Manjaro had some bug or an error in its default configuration that prevented journald log rotation? I've also encountered systems that ostensibly had journald log rotation configured, but had in actual fact failed to rotate their journals. Fortunately, as time progresses, those bugs seem to have eventually been squashed, regardless of their origin. – telcoM Jul 18 '23 at 23:15