How to turn on debugging for an LDAP domain created in the Web Manager?

How to turn on debugging for an LDAP domain created in the Web Manager?

book

Article ID: KB0077054

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0.x and higher.

Description

How to turn on debugging for an LDAP domain created in the Web Manager?

Resolution

(1) Open the file <TDV_INSTALL>/conf/server/log4j.properties and add these three lines to the end:

log4j.logger.com.compositesw.server.security.DomainManager=DEBUG
log4j.logger.com.compositesw.server.security.LdapExternalDomain=DEBUG
log4j.logger.com.compositesw.server.security.LdapUtils=DEBUG

(2) Either restart the TDV server, or follow the steps below (these steps allow you to reload log4j.properties into memory so that you do not need a restart) :

- Go to Studio > Administration > Configuration > Server > Configuration > Debugging > Debug Output Enabled
- Change the value to “True”
- Click “Apply” but don’t close the window
- Immediately change the value back to “False”
- Click “Apply” and close the window

The cs_server.log will contain debug entries.

Example log entry:
DEBUG [http-17] 2015-02-12 13:25:20.921 -0500 DomainManager - Authenticating user 'thomas_john'

To turn off debugging, remove the three lines from <TDV_INSTALL>/conf/server/log4j.properties and carry out Step (2) once more.

Issue/Introduction

How to turn on debugging for an LDAP domain created in the Web Manager?