# Log only blocked queries

**URL:** https://discourse.pi-hole.net/t/log-only-blocked-queries/17840
**Category:** Duplicate
**Created:** [February 28, 2019, 1:04am UTC](https://discourse.pi-hole.net/t/log-only-blocked-queries/17840 "2019-02-28T01:04:02Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Malcolm\_Fowles](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/f6c823/32.png) [@Malcolm\_Fowles](https://discourse.pi-hole.net/u/Malcolm_Fowles)
#### Post date: [February 28, 2019, 1:04am UTC](https://discourse.pi-hole.net/t/log-only-blocked-queries/17840/1 "2019-02-28T01:04:02Z")

</div>

Within the privacy options, I would like to have an option to log only blocked queries.

---

<div class="post-metadata">

### Author: ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)
#### Post date: [February 28, 2019, 1:07am UTC](https://discourse.pi-hole.net/t/log-only-blocked-queries/17840/2 "2019-02-28T01:07:42Z")

</div>

This option exists for the query log. Admin GUI \> Settings \> API/Web Interface \> Query Log. Were you looking for something other than this? If so, what would your proposed privacy option do and where would it fit in among the existing privacy options?

 ![image](https://discourse.pi-hole.net/uploads/default/original/2X/5/553fa491788c216a83c5228f432c771932e5bdd5.jpeg)

---

<div class="post-metadata">

### Author: ![Malcolm\_Fowles](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/f6c823/32.png) [@Malcolm\_Fowles](https://discourse.pi-hole.net/u/Malcolm_Fowles)
#### Post date: [February 28, 2019, 1:23am UTC](https://discourse.pi-hole.net/t/log-only-blocked-queries/17840/3 "2019-02-28T01:23:34Z")

</div>

Apologies, I hadn't seen that option.

---

<div class="post-metadata">

### Author: ![PiGat](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@PiGat](https://discourse.pi-hole.net/u/PiGat)
#### Post date: [February 21, 2020, 3:52pm UTC](https://discourse.pi-hole.net/t/log-only-blocked-queries/17840/6 "2020-02-21T15:52:23Z")

</div>

Except it isn't the same, this is only a fiter to show blocked entries, once you flip the permitted domain entries everything from the past is also shown. I agree, I would like a blocked domains only logger. I don't need to see what everyone normally visits.

---

<div class="post-metadata">

### Author: ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)
#### Post date: [June 11, 2020, 10:05am UTC](https://discourse.pi-hole.net/t/log-only-blocked-queries/17840/7 "2020-06-11T10:05:04Z")

</div>

Closing in favor of:

> [@Privacy - Log domains for permitted/blocked queries only](https://discourse.pi-hole.net/t/privacy-log-domains-for-permitted-blocked-queries-only/32011):
>
> In Settings \> Privacy \> DNS resolver privacy level add additional checkboxes to select domains to log: ballot_box_with_check Log permitted domains ballot_box_with_check Log blocked domains I don't want to be tracking all my client's traffic, I only need to see blocked queries, to whitelist them in case they break critical features.

---

<div class="post-metadata">

### Author: ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)
#### Post date: [June 11, 2020, 10:05am UTC](https://discourse.pi-hole.net/t/log-only-blocked-queries/17840/8 "2020-06-11T10:05:08Z")

</div>


