HTTP API / IP Logging

This section covers logging for HTTP API/IP requests and responses.

The logging can be enabled by setting system property ohi.http.logging.enabled to true and enabling trace log for package "com.oracle.healthinsurance.http.jersey.components.filters.logging". If the system property is set then all requests and responses will be logged.

If only certain requests and responses should be logged, it can be enabled by setting a request header parameter: ohi.http.logging.enabled to true.

If the property is turned on, either in request header or through the property file, the request and response messages will be logged to the Application log on log level trace. Please note that by logging request and response messages PII or PHI data could end up in the Application log.