TIBCO Data Virtualization® Adapter Online Help > Using the SAP for TDV Adapter > Configuring TDV Logging Level when Using SAP for TDV
 
Configuring TDV Logging Level when Using SAP for TDV
The logging level that you set for TDV can have an impact on your disk space. Because of the way SAP and TDV interact, if you set the TDV logging level to the highest level (debug), log files are written to the SAP Adapter's root directory. The files are created for all successful and unsuccessful actions. Capturing this much information can cause your system to run out of space.
To set the logging level
1. Locate the TDV log4j.properties file.
2. Make sure that the following line is commented out (that is, have a hash sign at the beginning):
#log4j.logger.com.compositesw.cdms.ds.sap=DEBUG
 
3. Locate and open the product.properties file.
4. Make sure that sap.debug is set to false.
5. Locate the following properties in the product.properties file. Typical installations use the default values of these properties.
 
Property
Description
sap.debug.freespaceLimitInMB=100
If the usable file system space goes beyond the configured limit, no new debug log files are written. This should prevent file system capacity exhaustion.
sap.debug.cleanUpAtStart=false
When set to true, the first attempt to write one of the debug files, triggers an attempt to clear earlier log files from that directory.