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:

    su -l knox -c '$gateway_home/bin/gateway.sh stop'
  2. Uncomment the logger or change the logging level in the /etc/knox/conf/gateway-log4j.properties file.

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


loading table of contents...