Hello Victor,
 
   The main issue I am facing is not sure if the requet is hitting 
correctly for ldap call. That is the reason I am trying to set debug 
unfortunately could not server is starting perfectly with all the right 
config for ldap setting. Look below:
 
The login screen is not hitting /j_acegi_security_check correctly and 
everytime leads to error page.
 
===============================
C:\Jenkins>java -jar jenkins.war
Running from: C:\Jenkins\jenkins.war
webroot: $user.home/.jenkins
Apr 06, 2015 2:54:36 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Apr 06, 2015 2:54:36 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-winstone-2.8
Apr 06, 2015 2:54:38 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: C:\Users\e513788\.jenkins found at: 
$user.home/.jenkins
Apr 06, 2015 2:54:39 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started [email protected]:8080
Apr 06, 2015 2:54:39 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Apr 06, 2015 2:54:39 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Apr 06, 2015 2:54:40 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Apr 06, 2015 2:54:40 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Apr 06, 2015 2:54:40 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Apr 06, 2015 2:54:40 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Apr 06, 2015 2:54:40 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Apr 06, 2015 2:54:44 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 63262
Apr 06, 2015 2:54:44 PM jenkins.util.groovy.GroovyHookScript execute
INFO: Executing C:\Users\my\.jenkins\init.groovy.d\extralogging.groovy
Apr 06, 2015 2:54:45 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
before define logger
after setting log level:ALL
Apr 06, 2015 2:54:45 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Apr 06, 2015 2:54:45 PM 
org.springframework.web.context.support.StaticWebApplicationContext 
prepareRefresh
INFO: Refreshing 
org.springframework.web.context.support.StaticWebApplicationContext@6c1aa804: 
display name [Root WebApplicationContext]; startup date [Mon Apr 06 
14:54:45 EDT 2015]; root of context hierarchy
Apr 06, 2015 2:54:45 PM 
org.springframework.web.context.support.StaticWebApplicationContext 
obtainFreshBeanFactory
INFO: Bean factory for application context 
[org.springframework.web.context.support.StaticWebApplicationContext@6c1aa804]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@2ebb3cc4
Apr 06, 2015 2:54:45 PM 
org.springframework.beans.factory.support.DefaultListableBeanFactory 
preInstantiateSingletons
INFO: Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@2ebb3cc4: 
defining beans 
[initialDirContextFactory,bindAuthenticator,ldapUserSearch,authenticationManager,authoritiesPopulator];
 
root of factory hierarchy
Apr 06, 2015 2:54:45 PM 
org.acegisecurity.ldap.DefaultInitialDirContextFactory setProviderUrl
INFO:  URL 'ldap://dev-corpldap.com:2389/dc=mycompany,dc=com', root DN is 
'dc=mycompany,dc=com'
Apr 06, 2015 2:54:45 PM 
org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator 
setGroupSearchBase
INFO: groupSearchBase is empty. Searches will be performed from the root: 
dc=mycompany,dc=com
Inside AuthenticationProcessingFilter2
URL=/j_acegi_security_check
Apr 06, 2015 2:54:46 PM 
org.springframework.web.context.support.StaticWebApplicationContext 
prepareRefresh
INFO: Refreshing 
org.springframework.web.context.support.StaticWebApplicationContext@7839fb04: 
display name [Root WebApplicationContext]; startup date [Mon Apr 06 
14:54:46 EDT 2015]; root of context hierarchy
Apr 06, 2015 2:54:46 PM 
org.springframework.web.context.support.StaticWebApplicationContext 
obtainFreshBeanFactory
INFO: Bean factory for application context 
[org.springframework.web.context.support.StaticWebApplicationContext@7839fb04]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@4bcb5109
Apr 06, 2015 2:54:46 PM 
org.springframework.beans.factory.support.DefaultListableBeanFactory 
preInstantiateSingletons
INFO: Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@4bcb5109: 
defining beans [filter,legacy]; root of factory hierarchy
Apr 06, 2015 2:54:46 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Apr 06, 2015 2:54:46 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Apr 06, 2015 2:55:07 PM hudson.model.AsyncPeriodicWork$1 run
 
======================
 
 
 
thanks
Venkat
 

On Thursday, April 2, 2015 at 2:36:38 PM UTC-4, Victor Martinez wrote:

> Follow the below steps:
> - https://wiki.jenkins-ci.org/display/JENKINS/Logging
> - Since that plugin uses loggers: 
> https://github.com/jenkinsci/ldap-plugin/blob/ldap-1.6/src/main/java/hudson/security/LDAPSecurityRealm.java#L796
> - Add the below logger: hudson.security
>
> I hope it helps :)
>
>
> On Thursday, 2 April 2015 20:05:48 UTC+2, [email protected] wrote:
>>
>> Hello Victor,
>>  
>>    I tried search for logging and no good help. Moreover I am still 
>> struggling to enable as debug so that I can trace the calls.
>>    Any helpful links would be much appreciated.
>>  
>> thanks
>> Venkat 
>>   
>>  
>>
>> On Thursday, April 2, 2015 at 1:25:02 PM UTC-4, Victor Martinez wrote:
>>
>>> I don't know if you already to record those loggers (search for jenkins 
>>> + logging). 
>>>
>>> Then you can check that LDAP plugin, search for its scm and validate 
>>> whether it does have any loggers if so you can easily configure to listen & 
>>> debug that plugin. 
>>>
>>> I hope it helps. Sorry if I didn't put any URL but unfortunately I'm 
>>> with mobile and chrome doesn't let me copy&paste ^^ 
>>>
>>> Cheers 
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/df51f15a-82c4-42a6-ad1c-2e9a21866edc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to