WildFly 16 (ie. Undertow 2.0.19) now comes with improved GDPR/DSGVO support in the form of request log patterns using obfuscated remote IP addresses. IPv4 addresses get logged after removing the last byte from the address (ie. “1.2.3.” instead of “18.104.22.168”), IPv6 address are cut off after the second colon (ie. “12ee:80:").
For that purpose the following new shortcuts have been introduced:
%odenotes the obfuscated remote IP address.
combinedobfare log patterns similar to the corresponding old ones (
combined), but with
%obeing substituted for the remote host part.