IP addresses are PII. Your Apache logs with default configuration already are in violation of GDPR if they log visitor's IP addresses.
I think that soon there will be extensions for popular servers that implement something like this. I wish it were the default configuration.
Also I think if IPSs rotated IP addresses among their customers daily it would not be a problem at all.