Locating trace and log files

In addition to the Management Console event log, CDC Replication produces other logs to help troubleshoot replication errors.

For the CDC Replication Engine for Db2® for z/OS®, if you encounter replication errors or replication stops, review the SPOOLed output for the address space:

CHCPRINT
Contains all messages issued by the product during replication. This should be viewed for all error and warning messages.
CHCAUDIT
Contains information on maintenance applied and parameters used for the running address space, and information on configuration changes to replication.
CHCREPRT
Contains output from reports. Some errors cause diagnostic reports to be generated. The staging space report can be run against an active subscription to report on the Units of Recovery in progress.

For all other replication engines, if you encounter replication errors or replication stops, review any of these trace logs:

CDC_installation_directory/log
This directory contains information for a CDC Replication problem. Refer to this directory if the problem is related to configuring an IBM® Data Replication instance. However, it is always useful to refer this directory as well as the CDC_installation_directory/instance/instance_name/log directory to troubleshoot any problem.
CDC_installation_directory/instance/instance_name/log
This directory stores trace files for a specific CDC Replication instance. It is also useful to refer to the CDC_installation_directory/instance/instance_name/log directory to troubleshoot your problem. When tracing has been enabled, the trace files will be enabled under CDC_installation_directory/instance/instance_name/log/on.
CDC_installation_directory/instance/instance_name/tmp
This directory temporarily stores data such as incomplete large transactions and large LOB data values.
CDC_installation_directory/instance/instance_name/stagingstore
This directory stores single scrape staging store data that does not fit in memory. When a CDC Replication instance is stopped normally, the contents of this staging store are written to files that are stored in this directory.