Tuesday, May 14, 2013

Configure Logging level for OIF 11g

One can do the OIF logger setting either from EM console or wlst command.

If you want to do it through wlst command, here are the steps:

  1. Run the ./wlst.sh from ORACLE_HOME. For eg., MW_HOME/Oracle_IDM1/common/bin
  2. wls:/offline>> connect() --- connect to the AdminServer port with weblogic credentials 
  3. wls> domainRuntime()
  4. wls> listLoggers(pattern="oracle.security.fed.*",target="OIF_INSTANCE_NAME")
  5. wls>setLogLevel(target='oif_server1',logger='oracle.security.fed',level='TRACE:32',persist="1",addLogger=1) 
  6. exit()
No need to restart OIF servers.