This chapter includes the following sections.
Logging is set up by default for the Oracle GoldenGate Adapters.
The default type of implementation for the Oracle GoldenGate Adapters is the
jdk option. This is the built-in Java logging called
The default log file is created in the standard report directory. It is named for the associated Replicat process. Problems are logged to the report file and the log file.
By default log files are written to the
dirrpt directory. The name of the log file includes the Replicat
group_name and it has an extension of
Oracle recommends that you use log4j logging instead of the JDK default for unified logging for the Java user exit. Using log4j provides unified logging for the Java module when running with the Oracle GoldenGate Replicat process.
To change the recommended log4j logging implementation, add the configuration shown in the following example to the Java Adapter Properties file.
gg.log level can be set to
trace. The default log level is
info. The debug and trace log levels are only recommended for troubleshooting as these settings can adversely affect performance.
The result is that a log file for the Java module will be created in the
dirrpt directory with the following naming convention:
<process name>_<log level>
Therefore if the Oracle GoldenGate Replicat process is called
javaue, and the
gg.log.level is set to debug, the resulting log file name is: