How to enable debug logging for Deployment Manager in Spotfire Data Virtualization?

How to enable debug logging for Deployment Manager in Spotfire Data Virtualization?

book

Article ID: KB0138367

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All supported versions

Description

This article provides the steps to enable debug logging for Deployment Manager in Spotfire Data Virtualization(SDV). These steps can be followed on both the SDV source instance and the SDV target instance. 

Environment

All supported Operating Systems

Resolution

To enable debugging for Deployment Manager, follow below steps:

(1) Make a backup of SDV_INSTALL/conf/server/log4j2.properties file. 

(2) Open log4j2.properties with a text editor and uncomment/append these lines to the end of the file:

# Turn on debugging/append the following lines for Deployment Manager on both instances - 
logger.deployment.name = com.compositesw.server.deployment
logger.deployment.level = DEBUG

logger.server_api.name = com.compositesw.server.api
logger.server_api.level = DEBUG

logger.cdms_webapi.name = com.compositesw.cdms.webapi
logger.cdms_webapi.level = DEBUG

(3) To activate the debugging, either restart the SDV server services or use the "alternative to restarting" mentioned below:

-------------alternative to restarting--------------------------
o Go to Studio > Administration > Configuration > Server > Configuration > Debugging > Debug Output Enabled
o Change the value to "True"
o Click "Apply" but don't close the window
o Immediately change the value back to "False"
o Click "Apply" and close the window
--------------------------------------------------------------

(4) Reproduce the issue and note down the timestamp.

(5) Zip up the SDV_INSTALL/logs folder from source and target (e.g. as "logs.zip") and share with Support team with the replication timestamp for review. The logs will contain a DEBUG trace.

Note: After you have obtained the trace, please turn off debugging by removing the lines added to log4j.properties  or commenting them out and then restarting the SDV server (if you do not wish to restart the SDV server, use the "alternative to restarting" mentioned above).

Issue/Introduction

How to enable debug logging for Deployment Manager in Spotfire Data Virtualization?