Logging is set up by default for the Oracle GoldenGate Application Adapters.
The default type of implementation for the Oracle GoldenGate Adapters is the JDK
option. This is the built-in Java logging called java.util.logging
(JUL
).
The default log file is created in the standard report directory. It is named for the associated Extract process. Problems are logged to the report file and the log file.
An overview of a problem is written to the Extract Report file and the details of the problem are written to the log file.
The logging for Oracle GoldenGate Adapters can be changed from JUL
to another type, debug can be turned on, and the configuration file can be specified.
The Java-based logging utility, Log4,j is the preferred method of logging for Oracle GoldenGate Application Adapters.
To change the logging implementation type, set the gg.log
property to log4j
or logback
. For example set:
gg.log=log4j
To designate a specific configuration file, set jvm.bootoptions
to the system property that defines it. This will implicitly set the implementation type and append the appropriate binding to the class path. Contact Oracle Support for help using this option.