March 18, 2023, 10:47am
I’m not sure if I did something or not, but my logs are showing always the current boot and then before half year ago. There are no logs of last 24 hours, last week or previous boot.
FreedomBox is plugged into a router at home
Running Debian GNU/Linux 11 (bullseye) and FreedomBox version 23.5. FreedomBox is up to date.
March 19, 2023, 10:41am
I performed commands for clearing journalctl like:
journalctl --flush --rotate
journalctl --vacuum-files 1
But there were some indestructible corrupted old logs, so I deleted them manually from /var/log/journal/. After every restart, there are logs only for the current boot. I don’t remember if I messed up with journal configuration file. Should I change something?
22.16 added a System/Configure setting for logging (none/volatile/persistent) and made the default volatile (only since last boot).
March 19, 2023, 7:08pm
Thank you! I didn’t knew about that option. Now the logs are working.