Change the granularity of the logging level by modifying the values in the gateway log4j properties file as follow:
Stop the Knox Gateway:
cd $gateway_home bin\gateway.cmd start
Uncomment the logger or change the logging level in the
$gateway_home\conf\gateway-log4j.propertiesfile.Start the Knox Gateway:
cd $gateway_home bin\gateway.cmd 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.

