OHI Value-Based Payments
 PreviousHomeNext 
2.5 Setting Up a WebLogic ClusterBook Index2.6.2 Set required defaults

2.6 Initial configuration for OHI Components in Oracle Fusion Middleware

2.6.1 Logging configuration

OHI Components makes use of the Logback library for generating log output. That log output is controlled by a logback.xml file that is referenced in the WebLogic Server configuration. Through the configuration file, the logging level can be controlled as well as the output channels (referred to as 'appenders') for log messages. An example of an output channel for logging is a file.

Predefined logging configurations

OHI Component applications come bundled with a predefined logback configuration called logback.xml.

This default logging configuration can be used as a starting point and may be altered for specific use cases. Use the -Dlogback.configurationFile Java option in the setDomainenv script to point to a variant of the logback.xml file, for example:

-Dlogback.configurationFile=production-logback.xml
or
-Dlogback.configurationFile=trace-logback.xml

The OHI Components Operations Guide describes log files and how to control log output.

2.6.1.1 Logging Configuration For Web Services

To enable logging for web services request and response messages, enable debug logging for the MessagePayloadLoggingHandler class. Add the following entries in logback.xml:

<logger name="com.oracle.healthinsurance.support.ws.handlers.MessagePayloadLoggingHandler" level="debug" />
 PreviousHomeNext 
2.5 Setting Up a WebLogic Cluster2.6.2 Set required defaults