add following lines to logging.xml that is located at <MW_HOME>/user_projects/domains/iamdev/config/fmwconfig/servers/oim_server1/logging.xml
<log_handlers>
<log_handler name='console-handler' level="TRACE:16"></log_handler>
<log_handler name='odl-handler'></log_handler>
<!--Additional log_handler elements defined here....-->
</log_handlers>
<loggers>
<logger name="oracle.iam.reconciliation"useParentHandlers='true' level="TRACE:32"/>
<logger name="oracle.iam.identity.scheduledtasks" useParentHandlers='true' level="TRACE:32"/>
<logger name="oracle.iam.scheduler" useParentHandlers='true' level="TRACE:32" />
<logger name="oracle.iam.platform.scheduler" useParentHandlers='true' level="TRACE:32"/>
<logger name="Xellerate.Scheduler" useParentHandlers='true' level="TRACE:32"/>
<logger name="Xellerate.Scheduler.Task" useParentHandlers='true' level="TRACE:32"/>
</logger>
<!--Additional logger elements defined here....-->
</loggers>
make sure you add these lines before </logging_configuration>
if you want to have connector logging enabled use following lines in same file. these lines should be in new tag and log_handler and logger name. these logs will be only generated when you run re-conciliation task.
after adding these lines please restart your OIM server
<log_handlers>
<log_handler name='console-handler' level="TRACE:16"></log_handler>
<log_handler name='odl-handler'></log_handler>
<!--Additional log_handler elements defined here....-->
</log_handlers>
<loggers>
<logger name="oracle.iam.reconciliation"useParentHandlers='true' level="TRACE:32"/>
<logger name="oracle.iam.identity.scheduledtasks" useParentHandlers='true' level="TRACE:32"/>
<logger name="oracle.iam.scheduler" useParentHandlers='true' level="TRACE:32" />
<logger name="oracle.iam.platform.scheduler" useParentHandlers='true' level="TRACE:32"/>
<logger name="Xellerate.Scheduler" useParentHandlers='true' level="TRACE:32"/>
<logger name="Xellerate.Scheduler.Task" useParentHandlers='true' level="TRACE:32"/>
</logger>
<!--Additional logger elements defined here....-->
</loggers>
make sure you add these lines before </logging_configuration>
if you want to have connector logging enabled use following lines in same file. these lines should be in new tag and log_handler and logger name. these logs will be only generated when you run re-conciliation task.
<log_handler name='OIMCP.LDAP' level='TRACE=32' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
<property name='logreader:' value='off'/>
<property name='path' value='[FILE_NAME]'/>
<property name='format' value='ODL-Text'/>
<property name='useThreadName' value='true'/>
<property name='locale' value='en'/>
<property name='maxFileSize' value='5242880'/>
<property name='maxLogSize' value='52428800'/>
<property name='encoding' value='UTF-8'/>
</log_handler>
<logger name="ORG.IDENTITYCONNECTORS.LDAP" level="TRACE:32" useParentHandlers="false">
<handler name="OIMCP.LDAP"/>
<handler name="console-handler"/>
</logger>
after adding these lines please restart your OIM server
No comments:
Post a Comment