Troubleshooting
The Oracle Utilities Network Management System - Notifications Hub Adapter uses the Apache Log4j2 library to log error, warning, and debug messages. To enable debug output, the following lines should be added to the Log4j2 configuration file used by the WebLogic Server where the adapter is deployed.
Supported Debug Facilities:
• com.oracle.ugbu.nms.interfaces.nhub: general debug
• REST: web service calls publishing outage information
• OAUTH: OAuth-related debug.
Example Log4j2 configuration with enabled debug
<Logger name="com.oracle.ugbu.nms.interfaces.nhub" level="debug"
additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="REST" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="OAUTH" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>