1.1. Changing the Log Level

Change the granularity of the logging level by modifying the values in the gateway log4j properties file as follow:

  1. Stop the Knox Gateway:

    cd $gateway_home
    bin\gateway.cmd start
  2. Uncomment the logger or change the logging level in the $gateway_home\conf\gateway-log4j.properties file.

  3. 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.


loading table of contents...