I’d like to disable logging for my Discourse instance for several reasons:
#gdpr paranoia - I do not want to be collecting and storing anything that’s surplus to requirements - especially where IP addresses are concerned* - anonymous users have not given me permission to collect their IPs. I don’t want to risk breaking this draconian and poorly-defined new law
Performance - logging all request to disk is unnecessarily hammering my SSD, and probably incurs a small performance penalty when a page and all its assets are requested by the client
I don’t need the logs
What’s the easiest and most bullet-proof way of disabling:
- nginx logging for my instance, please?
- IP addresses in any other logs (e.g. rails logs) where anonymous users are concerned?
*yes, I know that the internal nginx instance may only see the 172.17.0.1 Docker interface IP. EU legislators are unlikely to understand or care about this technical detail. They’ll just see “IP address,” which is on their list of “personally identifying information”