A possible alternative is to put /var/log in tmpfs (virtual memory) so it gets cleaned out during every reboot (and the log files don't wear out the SD/SSD).
Something like this In /etc/fstab:Code:
tmpfs /var/log tmpfs defaults,noatime,size=16m 0 0
Or stick it on spinning rust. No worries about lifetime write limits there.
Statistics: Posted by thagrol — Mon Feb 17, 2025 6:20 pm