To configure Net.Data for error message logging, you need to set configuration variables to specify where the log file is stored and what level of error messages Net.Data needs to capture.
The name of the error log file is netdata.error.log. Use the DTW_ERROR_LOG_DIR configuration variable to specify the directory in which the trace file is stored.
Syntax:
DTW_ERROR_LOG_DIR [=] full directory path
Example:
DTW_ERROR_LOG_DIR /usr/lpp/internet/server_root/logs
Determine the type of messages that Net.Data logs by setting the value of the configuration variable, DTW_ERROR_LOG_LEVEL.
Syntax:
DTW_ERROR_LOG_LEVEL [=] OFF|INFORMATION|ALL
Where:
Example:
DTW_ERROR_LOG_LEVEL ALL