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 “1.2.3.4”), IPv6 address are cut off after the second colon (ie. “12ee:80:").
For that purpose the following new shortcuts have been introduced:
%o
denotes the obfuscated remote IP address.commonobf
and combinedobf
are log patterns similar to the corresponding old ones (common
and combined
), but with %o
being substituted for the remote host part.