It’s well-established that SD cards have a finite lifespan. This lifespan is dependent on the number of writes that you do to the card (although the number of reads is largely irrelevant). Alexander van der Sar has blogged about using a piece of software called Ramlog. At boot time, the current logs are read into memory, then subsequent log writes are done directly to RAM, therefore not using the SD card. The logs are then written at shutdown time to the SD card, thus minimising the number of writes. Read about this here.
Thanks to Peter Scargill who went through the pain of finding some instructions that worked!
Another nice find. I am going to use this for boards other than the Pi that use SD cards.
Currently I am installing it on my sama5d3-xplaine board which I use to run octoprint and display information via an LCD panel.
Ramlog will definitely come in handy.
Thanks
Greg
Just tried this. Looks useful. You DO need to do sudo insserv and two reboots after changes. (xdrp created a problem and had to be added to the BEGIN INIT INFO as described for say cups to get mine working.)