On Raspberry Pi, a larger SD card helps spread out those writes. Alternatively, get a high endurance SD card which is made to handle more writes. Log2ram helps further by journaling logs in RAM then dumps them to your SD card once a day (or at configured interval)
Personally, I just boot my Pi from an SSD in a USB3 enclosure, with log2ram running - best of both worlds.
Forget SD cards for Raspberry Pis - boot from an SSD in a USB enclosure, they have better longevity than SD cards.