Is LOG2RAM needed on a PiHole /Unbound /DietPi OS install?

Would installing log2ram help with prolonging the life of an SD card as far as PiHole is concerned? And does a DietPi OS need to have log2ram? (I see several tutorials that recommend the install of log2ram with Pi-Hole on a raspberry OS, but no mention of a Diet-Pi OS).


192.168.8.1
jiofi.local.html
http://router-network.onl

Hi,

first, DietPi is not an own OS. It’s a set of scripts on top of a base image. Depeneding on your device, different base images are uses like Raspberry OS, Armbian, Meveric or plain Debian.

By default DietPi will have RAMlog activated. Means /var/log will be a tmpfs and is located inside RAM. DietPi aims to reduce r/w operations down to a minimum.

As well, best to my knowledge, Pihole did not have file logging activated by default.