Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

How to disable IP Address logging in Admin

Started by roman 8 years ago · 5 replies · 1516 views
8 years ago

Grav is currently logging IP addresses in logs/visitors.json (maybe also in other places). I could not find a way to disable this from the Admin Panel.

The reason I'm asking is because I'm preparing my web for EU GDPR legislation and I'm reviewing all parts where there could be issues. I try to have full control over what data is stored. Even pseudo anonymous data.

Thank you

8 years ago

Thank you Ron.

After I disabled Visitor tracking and removed the popularity directory inside of logs, the IP addresses are not tracked any more (at least not inside of the popularity directory).

Now I'm looking for other places where there could be issues.

I didn't find anything else inside of grav core. I don't really play with Grav's code and I don't know much about its internals, so I cannot be sure if I didn't miss something.

From the plugins that I use, only the comments plugin could have a reason to store IP addresses. However, I didn't find any IPs inside of files generated by comments.

Thanks again

8 years ago

That's great.

Being a flat file CMS it's fairly easy to check for ip address storage and other sensitive data. Just use a tool to calculate checksums of all files of your Grav website. Then let it run for a while and do the same again. Any changed files will have a different checksum. Examine those files and look for what you're interested in.

8 years ago

Just found that you can also edit /user/config/plugins/admin.yaml and set popularity.history.visitors to '0'

This option is not editable via Admin UI

👍 2

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 57 15 hours ago
Support · by Anna, 3 days ago
2 65 18 hours ago
Support · by Justin Young, 18 hours ago
1 33 18 hours ago
Support · by Duc , 1 week ago
2 68 5 days ago
Support · by Colin Hume, 1 week ago
2 60 6 days ago