Enable LDAP/AD additional Logging
search cancel

Enable LDAP/AD additional Logging

book

Article ID: 200958

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

How to configure additional log tracing for LDAP/AD integration.

Environment

Release : 6.6, 6.7

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER

Resolution

1. Stop NAC(datamanagement server)
2. Locate  $CA_RA_INSTALLATION_DIR\webapps\datamanagement\WEB-INF\log4j.properties file
3. Edit it by adding the following lines to the end:

log4j.logger.com.nolio.platform.server.dataservices.services.auth=TRACE, LDAPAuth
log4j.additivity.com.nolio.platform.server.dataservices.services.auth=false
log4j.appender.LDAPAuth=org.apache.log4j.RollingFileAppender
log4j.appender.LDAPAuth.File=${webapp.root}/../../logs/nolio_ldap.log
log4j.appender.LDAPAuth.MaxFileSize=50MB
log4j.appender.LDAPAuth.MaxBackupIndex=10
log4j.appender.LDAPAuth.layout=org.apache.log4j.PatternLayout
log4j.appender.LDAPAuth.layout.ConversionPattern=%d{ISO8601} [%t] %-5p (%c:%L) - %m%n

4: In the same file make sure that the following entries are set to ALL and that they are uncommented, (commented by default)

log4j.logger.com.nolio.platform.server.dataservices.services.auth.providers.NolioActiveDirectoryAuthenticationProvider=WARN
log4j.logger.org.springframework.security=ALL, Spring

5. Save and close
6. Start NAC

Wait for 2 minute to let the change take place.

With above configuration please capture the files noilo_dm_all.log.* and nolio_ldap.log from NAC_INSTALL_DIR/logs and share it with support if needed.