For GDPR-reasons I would like to remove IP-addresses in my logs as I have no use of that information, and thus it is not necessary to keep them.
- Rails v 4.2.10
- Ruby v 2.4.7
Is there an easy way of filtering the IP-addresses in the log file or at least replace them? I am specifically interested in this line:
Started GET "/" for xx.xxx.xxx.x at 2020-05-11 14:14:30 +0000
where xx.xxx.xxx.x is an actual IP number.