Total Pageviews

Thursday, August 28, 2014

parameter value changes to enabe LDAP Sycn failure related errors between OID and OIM 11gr2



To configure loggers:
  1. Open the DOMAIN_NAME/config/fmwconfig/servers/SERVER_NAME/logging.xml file.

/<DOMAIN_HOME>/iamdev/config/fmwconfig/servers/oim_server1


parameter for OID error logs


 oracle.iam.ldap-sync 

Logs events related to the Oracle Identity Manager and LDAP synchronization feature.

to make it easier follow these

vi logging.xml
press shift +G (to go to bottom of file)
 add following line

<logger name=’XELLERATE.SCHEDULER’ level=’TRACE:32′ useParentHandlers=’false’>
 <handler name=’odl-handler’/>
 <handler name=’console-handler’/>
 </logger><logger name=’XELLERATE.SCHEDULER.TASK’ level=’TRACE:32′ useParentHandlers=’false’>
 <handler name=’odl-handler’/>
 <handler name=’console-handler’/>
 </logger>

restart OIM.
rerun scheduler and go to OIM logs($DOMAIN_HOME/servers/<oim_server1>/logs/oim-server1-diagnostic.log

if logs are not showing up in oim-server1-diagnostic.log  look at nohup.out logs(located at $DOMAIN_HOME/bin same place you started all the admin and managed servers.)


more information from oracle is below


Individual loggers are configured in the <loggers> section of the logging.xml file. More than twenty different Oracle Identity Manager loggers that can be configured to send messages to log handlers. Oracle Identity Manager loggers are described in Table 2 on page 7.Setting the level attribute for the logger configures the amount of detail (and, hence, the volume of messages) that the logger sends to its handlers. Nesting one or more <handler> elements inside of <logger> elements assigns handlers to loggers.The following excerpt shows a logger called OIMCP.PSFTCOMMON. The level attribute is set to WARNING:32 and the logger sends messages to three handlers:
<logger name="OIMCP.PSFTCOMMON" level="WARNING:32" useParentHandlers="false">
<handler name="odl-handler"/>
<handler name="wls-domain"/>
<handler name="console-handler"/>
</logger>
A logger can inherit a parent logger's settings, including the parent's level setting and other attributes, as well as the parent logger's handlers. To disable inheritance, set the useParentHandlers attribute to false, as shown in the previous excerpt.
At the top of the logger inheritance tree is the root logger. The root logger is the logger with an empty name attribute, as shown in the following example.
<loggers>
    <logger name="" level="WARNING:1">
      <handler name="odl-handler"/>
      <handler name="wls-domain"/>
      <handler name="console-handler"/>
    </logger>

    <!-- Additional loggers listed here -->
</loggers>
If a logger is configured with only its name attribute, the logger will inherit the rest of its attributes from the root logger, as shown in the following example:
<loggers>
    <logger name="oracle.iam.identity.rolemgmt"/>
    <!-- Additional loggers listed here -->
</loggers>


parameter for OID error logs


 oracle.iam.ldap-sync 

Logs events related to the Oracle Identity Manager and LDAP synchronization feature.



 

No comments:

Post a Comment