# Can Access Logs be turned off?

**URL:** <https://answers.netlify.com/t/can-access-logs-be-turned-off/34557>\
**Category:** Support\
**Tags:** caching, security\
**Created:** [March 19, 2021, 2:09pm UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557 "2021-03-19T14:09:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wahidshafique](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/wahidshafique/32/23505_2.png) [@wahidshafique](https://answers.netlify.com/u/wahidshafique)\
**Post date:** [March 19, 2021, 2:09pm UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/1 "2021-03-19T14:09:38Z")

</div>

Netlify’s [commitment to privacy](https://www.netlify.com/gdpr-ccpa/) mentions

## Types of Personally Identifiable Information (PII) we collect

- Access logs including the IP addresses of your site visitors, stored for less than 30 days

I was wondering, is there a way to turn off these logs?

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [March 19, 2021, 2:19pm UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/2 "2021-03-19T14:19:47Z")

</div>

Sadly, no. They’re on by default and I think every server collects them.

That’s also the data that will be displayed to you once you turn on Analytics. So, Netlify is always collecting that data, just not displaying it.

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [March 22, 2021, 4:22am UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/3 "2021-03-22T04:22:33Z")

</div>

Hi, @wahidshafique. I’m just confirming what @hrishikesh already said. There is no way to turn of the collection of this information (visitor IP addresses).

If there are other questions or concerns, please let us know.

---

<div class="post-metadata">

**Author:** ![wahidshafique](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/wahidshafique/32/23505_2.png) [@wahidshafique](https://answers.netlify.com/u/wahidshafique)\
**Post date:** [March 23, 2021, 2:40pm UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/4 "2021-03-23T14:40:21Z")

</div>

@luke Is it possible to anonymize the IP’s in the access log?

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [March 24, 2021, 2:32am UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/5 "2021-03-24T02:32:56Z")

</div>

Hi, @wahidshafique. No, our access logs do record the IP addresses.

---

<div class="post-metadata">

**Author:** ![wahidshafique](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/wahidshafique/32/23505_2.png) [@wahidshafique](https://answers.netlify.com/u/wahidshafique)\
**Post date:** [April 14, 2021, 1:20pm UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/6 "2021-04-14T13:20:27Z")

</div>

@luke My final note on this after discussing with my team. Keeping the various privacy acts such as GDPR in mind, is it at all possible to make a special request to NOT store IP’s of customers _until_ we enable analytics? I’m very unsure as to why IP’s would be logged, can you answer the rationale behind storing them as well?

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [April 16, 2021, 4:06am UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/7 "2021-04-16T04:06:06Z")

</div>

Hi, @wahidshafique. While I can enter a feature request to change this, I also want to be clear that this is unlikely to change.

About this:

> I’m very unsure as to why IP’s would be logged, can you answer the rationale behind storing them as well?

IP addresses are required to troubleshoot a number of issues. From connectivity issues, to tracking down specific HTTP responses, to tracking DDoS attacks - without client IP addresses, it becomes much harder or even impossible to troubleshoot these issue. Storing this information (only for 30 days) is an absolute must if we are going to be able to fix these types of issues.

This is the reason that IP addresses are collected. They are required information for troubleshooting a wide variety of issues.

Again, it is almost certain that our collection of this information will never change. However, if you want us to create a feature request for this please let us know. I must reiterate, though, that this is almost certainly not going to change. (I don’t want you waiting for a feature request which isn’t actually going to happen.)

---

<div class="post-metadata">

**Author:** ![wahidshafique](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/wahidshafique/32/23505_2.png) [@wahidshafique](https://answers.netlify.com/u/wahidshafique)\
**Post date:** [June 8, 2021, 1:23pm UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/8 "2021-06-08T13:23:33Z")

</div>

Ok, with this info in mind, I have another follow up that was relayed to me by my team this week. For our work, it’s operation critical that our users are **deidentified**. Since Netlify _does_ collect access logs, is it the case the our team cannot access those IP logs directly? We want there to be a strict demarcation of what _we_ have access to and what Netlify has access to internally, especially if we see us using the product in a production capacity, and as we draft our privacy policies.

---

<div class="post-metadata">

**Author:** ![Scott](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/scott/32/26136_2.png) [@Scott](https://answers.netlify.com/u/Scott)\
**Post date:** [June 8, 2021, 4:26pm UTC](https://answers.netlify.com/t/can-access-logs-be-turned-off/34557/10 "2021-06-08T16:26:35Z")

</div>

Hey @wahidshafique,

Nothing will answer your question better than our [dedicated marketing page](https://www.netlify.com/gdpr-ccpa/) however, to put it simply – our logs contain IP addresses and countries of your visitors, which can be considered PII.

We do not share this information outside of Netlify, not even with the site operator(s). However, nothing is stopping you from collecting and collating this data yourself, through analytics services, functions and (soon) edge handlers.

The only PII/identifiable information we share with you would be form submissions. And, [there are ways to ensure that this information doesn’t touch our backend](https://www.netlify.com/blog/2019/06/06/very-good-security-add-on-collect-data-securely/), if that’s of interest to you.
