Net.Data Books

Administration and Programming Guide for OS/390

Configuring Net.Data for Tracing

To configure Net.Data for tracing, you need to set configuration variables to specify where the trace log is stored and what level of trace data Net.Data needs to capture.

Setting the Trace Log Directory

The name of the trace log is netdata.trace. Use the DTW_TRACE_LOG_DIR configuration variable to specify the directory in which the trace file is stored.

Syntax:

DTW_TRACE_LOG_DIR [=] full directory
path

Example:

DTW_TRACE_LOG_DIR /usr/lpp/internet/server_root/logs

Setting the Level of Trace Logging

Determine the level of tracing that Net.Data logs by setting the value of the configuration variable, DTW_TRACE_LOG_LEVEL.

Syntax:

DTW_TRACE_LOG_LEVEL [=] OFF|APPLICATION|SERVICE

Where:

OFF
Specifies that no trace data is captured in the trace log. This is the default value.

APPLICATION
Net.Data writes application-level trace messages to the trace log.

SERVICE
Net.Data writes all trace messages to the trace log.

Example:

DTW_TRACE_LOG_LEVEL SERVICE


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]