Starting or Stopping the Managed Servers By Using Command Prompt

8 Enabling System Logging 8-1 8 Enabling System Logging Oracle Identity Manager uses two logging services: Oracle Diagnostic Logging ODL, which is the logging service used by most Oracle Fusion Middleware applications, and Apache log4j. Oracle Identity Manager logging is primarily done with ODL. Apache log4j is only used with third-party applications, such as Nexaweb for Deployment Manager and Workflow Designer, and OSCache for caching. This chapter contains the following sections: ■ Logging in Oracle Identity Manager By Using ODL ■ Logging in Oracle Identity Manager By Using log4j

8.1 Logging in Oracle Identity Manager By Using ODL

Oracle Diagnostic Logging ODL is the principal logging service used by Oracle Identity Manager. For ODL logging to work, both loggers and log handlers need to be configured. Loggers send messages to handlers, and handlers accept messages and output them to log files. Logging configuration is controlled by the logging.xml file described in Log Handler and Logger Configuration on page 8-3. This file can either be edited directly or edited through the Enterprise Manager. On the Enterprise Manager, the logging configuration can be accessed by clicking the OIM server link and by selecting the Weblogic Server drop down from the top, and then clicking on Logs - Log Configuration. To access the logging configuration on the Enterprise Manager: 1. Click the OIM server link. 2. From the Weblogic Server list, select Logs - Log Configuration. All the packages available for logging are displayed on the log configuration screen. For any additional packages to be logged that are not available in the Enterprise Manager such as, for connector packages, follow the instructions to manually edit the logging.xml file. The packages specific to Oracle Identity Manager can be accessed under oracle.iam. The different log levels are available for selection under the Oracle Diagnostic Logging Level column. Select a particular log level, and then click Apply for the changes to take effect. In addition, new log handlers can be created and configured by clicking the Log Files tab. Each Oracle Identity Manager module has its own logger that can be configured independently to send different amounts of information to one or more log handlers. Table 8–2, Oracle Identity Manager Loggers lists the more than twenty different