# Possible BUG with API\_QUERY\_LOG\_SHOW icw Web admin

**URL:** <https://discourse.pi-hole.net/t/possible-bug-with-api-query-log-show-icw-web-admin/8608>\
**Category:** Help\
**Created:** [April 5, 2018, 1:05pm UTC](https://discourse.pi-hole.net/t/possible-bug-with-api-query-log-show-icw-web-admin/8608 "2018-04-05T13:05:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j1nx1](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/j1nx1/32/3330_2.png) [@j1nx1](https://discourse.pi-hole.net/u/j1nx1)\
**Post date:** [April 5, 2018, 1:05pm UTC](https://discourse.pi-hole.net/t/possible-bug-with-api-query-log-show-icw-web-admin/8608/1 "2018-04-05T13:05:28Z")

</div>

When you use the web gui to exclude domains or IP's the web graphs and plots are behaving strange.

API\_QUERY\_LOG\_SHOW is set to "nothing" ?? And is not reverted back to "all" if you remove the excludes again.

Because of the "nothing" mode you don't see things of course in the query logs. Manually setting it back to "all" will give you back the query logs. However especially the plots and graph remain acting "funny".

Removing the excludes and set the setting back to "all" fixes the strange behaviour.

## Expected Behaviour:

Domains or IP's to be excluded in web admin

## Actual Behaviour:

Monkey business behaviour.

---

<div class="post-metadata">

**Author:** ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)\
**Post date:** [April 5, 2018, 7:44pm UTC](https://discourse.pi-hole.net/t/possible-bug-with-api-query-log-show-icw-web-admin/8608/2 "2018-04-05T19:44:01Z")

</div>

Please send us the token generated by

```auto
pihole -d

```

or do it through the Web interface:

> [@How do I debug my Pi-hole installation?](https://discourse.pi-hole.net/t/how-do-i-debug-my-pi-hole-installation/3104):
>
> Login into your Pi-hole's command line Enter sudo pihole -d Provide us with the debug token that is generated after the debug script completes Alternative: Securely sending us additional information Preferred Method If there is additional information you want to provide us, you can upload any kind of text to our server. You will still get a debug token so your information will remain anonymous. To do this, you can pipe some shell output into netcat, which will upload it to our [secure server](https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/). …

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [April 26, 2018, 7:44pm UTC](https://discourse.pi-hole.net/t/possible-bug-with-api-query-log-show-icw-web-admin/8608/3 "2018-04-26T19:44:01Z")

</div>

Closed on April 26, 2018, 7:44pm UTC

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
