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

**URL:** https://dietpi.com/forum/t/is-log2ram-needed-on-a-pihole-unbound-dietpi-os-install/5021
**Category:** General Discussion
**Created:** [25 February 2021 07:18 UTC](https://dietpi.com/forum/t/is-log2ram-needed-on-a-pihole-unbound-dietpi-os-install/5021 "2021-02-25T07:18:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![David25](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/e5b9ba/32.png) [@David25](https://dietpi.com/forum/u/David25)
#### Post date: [25 February 2021 07:18 UTC](https://dietpi.com/forum/t/is-log2ram-needed-on-a-pihole-unbound-dietpi-os-install/5021/1 "2021-02-25T07:18:41Z")

</div>

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](http://19216881.onl)  
[jiofi.local.html](http://jiofi-local-html.in/)  
[http://router-network.onl](http://router-network.onl)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [25 February 2021 07:51 UTC](https://dietpi.com/forum/t/is-log2ram-needed-on-a-pihole-unbound-dietpi-os-install/5021/2 "2021-02-25T07:51:30Z")

</div>

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.
