This law suggests a shift to assuming no consent for gathering of PII, only gathering data when you have informed consent and a justifiable business need.
In the case of web servers I can't see a problem with not recording IP if you're also gathering PII; or asking for permission in the PII submission; or say dropping the last digits from a dotted-quad as a default.