V2.1.3
Changelog:
- Optional fields that can contain sensitive user data have been extended to
remote_ip, remote_host, remote_port, x_forwarded_for, remote_user, referer. - By default, these fields will not be logged by the Servlet Filter and by the Jersey Filters anymore. Logging of these fields can be activated via the following environment variables:
Environment Variable | Optional Fields |
---|---|
LOG_SENSITIVE_CONNECTION_DATA: true |
activates the fields remote_ip, remote_host, remote_port, x_forwarded_for |
LOG_REMOTE_USER: true |
activates the field remote_user |
LOG_REFERER: true |
activates the field referer |
See also https://github.com/SAP/cf-java-logging-support/wiki/Overview#logging-sensitive-user-data