Enabling tracing for the Data Receiver at startup

You can enable static tracing for the Data Receiver by modifying the trace parameter in cdpdr.properties file.

About this task

The value of trace property in the cdpdr.properties file is applied each time the Data Receiver is started. If you want to update the trace value for the currently running Data Receiver, you must stop the current Data Receiver first. Then update the property value. After that, you must restart the Data Receiver for the updated value to take effect. If you do not want to restart the Data Receiver to enable tracing, you can enable dynamic tracing for the Data Receiver.

To enable static tracing, complete the following steps:

Procedure

  1. Update the trace property in the $CDPDR_HOME/cdpdr.properties file.
    trace = n
    # A y or n specification of whether to activate tracing for the Data Receiver.
    # If a lowercase value y is used for this property, the Data Receiver enables tracing,
    # otherwise, a lowercase value n will disable tracing.
  2. Restart the Data Receiver.

What to do next

When the trace is enabled, you can go to $CDPDR_HOME/logs and get more information in the DataReceiver_logging.log file.

When the trace settings are no longer needed, you can return to the cdpdr.properties file, set trace=n, and then restart the Data Receiver.

Note:

The Z Common Data Provider Data Receiver uses Apache Log4J 2 as its default logging framework. For information about how the Data Receiver creates archives and slices, see Updating the Data Receiver Log4j Configuration File.