3.1. Increase Log Level and Test

Increase the logging level of the LDAP provider:

  1. Uncomment the Shiro logging properties to set level to debug in the gateway log4j properties file ( /etc/knox/conf/gateway-log4j.properties ):

    log4j.logger.org.apache.shiro=DEBUG
  2. Restart the Knox Gateway:

    su -l knox -c '$gateway_home/bin/gateway.sh stop'
    su -l knox -c '$gateway_home/bin/gateway.sh start'
  3. Tail the gateway log.

    tail -f /var/log/knox/gateway.log

loading table of contents...