Friday, May 29, 2015

OIM 11g quartz scheduler logging

 We had some issues in OIM quartz scheduler.So, we had to enable logging for it.The process for it is slightly different.

Solution:
- Go to  OIM_ORACLE_HOME/server/config
- Create a logging.properties with content,

handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# default log level
.level=INFO
# Quartz logger level
org.quartz.level=FINEST
# log file name for the quartz log
java.util.logging.FileHandler.pattern=quartz%u.log
# formatter
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
# limit the size of the file
java.util.logging.FileHandler.limit=1000000
# recycle
java.util.logging.FileHandler.count=10

In the setDomainenv.sh add to the JAVA_OPTIONS,

-Djava.util.logging.config.file=%OIM_ORACLE_HOME%/server/config/logging.properties

This will need the OIM managed server restart and the log file will get created in domain home with name quartzX.log

No comments:

Post a Comment