# IP logging on my site

**URL:** https://meta.discourse.org/t/ip-logging-on-my-site/170213
**Category:** Support
**Created:** [November 15, 2020, 6:13pm UTC](https://meta.discourse.org/t/ip-logging-on-my-site/170213 "2020-11-15T18:13:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Bit0101](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Bit0101](https://meta.discourse.org/u/Bit0101)
#### Post date: [November 15, 2020, 6:13pm UTC](https://meta.discourse.org/t/ip-logging-on-my-site/170213/1 "2020-11-15T18:13:44Z")

</div>

Hello! I am having an issue with my forums, and I wouldn’t like for any IP to be logged any time an user logs in, could someone instruct me how to do this?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 15, 2020, 9:01pm UTC](https://meta.discourse.org/t/ip-logging-on-my-site/170213/2 "2020-11-15T21:01:38Z")

</div>

User IP addresses are already visible via /admin. You can pull together a report of all latest user IP addresses via the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin.

Do you want to see the current IP, or all historic IPs for a user?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 15, 2020, 9:24pm UTC](https://meta.discourse.org/t/ip-logging-on-my-site/170213/3 "2020-11-15T21:24:47Z")

</div>

> [@Bit0101](#):
>
> I wouldn’t like for any IP to be logged

It’ll be pretty hard to turn off IP logging. It would be hard, for example, to block IP addreses if you’re not recording them.

---

<div class="post-metadata">

### Author: ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)
#### Post date: [November 15, 2020, 10:06pm UTC](https://meta.discourse.org/t/ip-logging-on-my-site/170213/4 "2020-11-15T22:06:38Z")

</div>

I guess that’s what he wants (NOT log IPs). The question is not 100% clear, but it seems to be his wish (to be confirmed). Like many things, this already came up in the past:

> [@Possible to not log user IP addresses?](https://meta.discourse.org/t/possible-to-not-log-user-ip-addresses/46502):
>
> In the admin screen for users we can see their last visited and registered IP addresses. In line with my company’s approach to privacy, we don’t want to record these but I can’t see a setting to switch it off. Is there something I’m missing, or would we have to fork Discourse? Or perhaps a plugin could override the code? Any help is appreciated.

---

<div class="post-metadata">

### Author: ![Bit0101](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Bit0101](https://meta.discourse.org/u/Bit0101)
#### Post date: [November 16, 2020, 2:13pm UTC](https://meta.discourse.org/t/ip-logging-on-my-site/170213/5 "2020-11-16T14:13:10Z")

</div>

No, I would like for my website to not log any IP addreses any time a person enters my website and registers or logs in

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 16, 2020, 4:49pm UTC](https://meta.discourse.org/t/ip-logging-on-my-site/170213/6 "2020-11-16T16:49:01Z")

</div>

The linked topic recommends using an external reverse proxy that’s intentionally mis-configured to not pass on the IP address. It might be possible to tweak the internal nginx to mask the IP. It’d still be in the nginx logs for some amount of time.
