Increase the logging level of the LDAP provider:
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
Restart the Knox Gateway:
su -l knox -c '$gateway_home/bin/gateway.sh stop' su -l knox -c '$gateway_home/bin/gateway.sh start'
Tail the gateway log.
tail -f /var/log/knox/gateway.log