TIBCO Data Virtualization® Adapter Online Help > TDV Splunk Adapter > Logging > Configure Logging for the Splunk Adapter
 
Configure Logging for the Splunk Adapter
By default, logging is turned on without debugging. If debugging information is desired, uncomment the following line in the TDV Server's log4j.properties file (default location of this file is: C:\Program Files\TIBCO\TDV Server <version>\conf\server):
 
log4j.logger.com.cdata=DEBUG
The TDV Server must be restarted after changing the log4j.properties file, which can be accomplished by running the composite.bat script located at: C:\Program Files\TIBCO\TDV Server <version>\bin. Note that reauthenticating to the TDV Studio is required after restarting the server.
Here is an example of the calls:
.\composite.bat monitor restart
All logs for the adapter are written to the "cs_cdata.log" file as specified in the log4j properties.
Note: The "log4j.logger.com.cdata=DEBUG" option is not required if the Debug Output Enabled option is set to true within the TDV Studio. To set this option, navigate to Administrator > Configuration. Select Server > Configuration > Debugging and set the Debug Output Enabled option to True.