Products | Versions |
---|---|
TIBCO Data Virtualization | All supported versions |
This article contains the steps to enable DEBUG logging for TIBCO Data Virtualization Server.
1. Open TDV Server log4j.properties file located at [TDV SERVER_INSTALL_DIRECTORY]/conf/server/ in a text editor
2. Depending on the functionality impacted, enable DEBUG logging for that configuration property/properties by uncommenting the respective line/lines.
Example: To enable Debug logging for "Data source introspection" functionality, follow the steps:
- Open [TDV SERVER_INSTALL_DIRECTORY]/conf/server/log4j.properties file and uncomment the below 3 lines:
#log4j.logger.com.compositesw.cdms.ds=DEBUG #log4j.logger.com.compositesw.cdms.datasource=DEBUG #log4j.logger.com.compositesw.cdms.datasource.introspect=DEBUG
3. For the above changes to take effect, restart the TDV server. The [TDV SERVER_INSTALL_DIRECTORY]/logs/cs_server.log will contain debug entries.
4. To disable debug logging, comment the lines in [TDV SERVER_INSTALL_DIRECTORY]/conf/server/log4j.properties and carry out Step (3) once more.
Note: To enable debug logging without restarting the server, follow the steps below: (This option reloads the log4j.properties file into memory and does not need a server restart for the changes to take effect)
- Browse to "TDV Studio > Administration > Configuration > Server > Configuration > Debugging > Debug Output Enabled"
- Change the value to “True”
- Click “Apply” but do not close the window
- Immediately change the value back to “False”
- Click “Apply” and close the window