How can microSD flash memory wear be minimized?

There’s a few bits of discussion on the DietPi forums at https://dietpi.com/phpbb/viewtopic.php?t=2794 , Diet Pi is a lightweight OS Image which has some tweaks such as logging to RAM as easy to enable features.

The other alternative I know of is https://github.com/ali1234/rpi-ramdisk , this with the right compiling and configuration loads the entire OS into RAM. I’ve been wondering about creating a gateway image using this as this should be the most reliable as the SD Card can even be taken out once booted.

There’s some discussion about them at https://duckduckgo.com/?q=ramdrive&sites=raspberrypi.org%2Fforums&HTTPS=1&kj=%23c51a4a&ia=web

With logs I think it varies on what you want, I don’t log the packet forwarder data and haven’t had to look at any of the other linux logs.