Logging In OIM
Logging in OIM OIM 11.1.1.5.
Logger types
There are basically 3 types of loggers used by OIM:
- oracle.core.ojdl.logging.ODLLogger
- org.apache.log4j.Logger
- com.thortech.util.logging.Logger
First two are documented in the chapter of Admin Guide, and in more detail here.
oracle.core.ojdl.logging.ODLLogger
- Is derived from java.util.logging.Logger, so it is compatible with standard Java logging.
- Does let you change the log level programmatically.
- Configuration is located in the $DOMAIN_HOME/config/fmwconfig/servers/<SERVER_NAME>/logging.xml file.
- Configuration files are monitored, so OIM server restart is not required for changes to take effect after you changed this file.
org.apache.log4j.Logger
- Does let you change the log level programmatically.
- According to OIM docs, the configuration is located in the OIM_HOME/config/log.properties file, the file exists in my installation, but I never managed to make OIM sense changes in this file.
com.thortech.util.logging.Logger
The com.thortech.util.logging.Logger does not let you change the log level programmatically.
page revision: 7, last edited: 06 Sep 2012 21:09