Change the granularity of the logging level by modifying the values in the gateway log4j properties file as follow:
Stop the Knox Gateway:
su -l knox -c '$gateway_home/bin/gateway.sh stop'
Uncomment the logger or change the logging level in the
/etc/knox/conf/
gateway-log4j.properties
file.Start the Knox Gateway:
su -l knox -c '$gateway_home/bin/gateway.sh start'
Perform testing and view (or tail) the Knox Gateway log in the
gateway.log
. Some output messages are also written to
gateway.err
and gateway.out
.