The Knox Gateway logging module is based on the Apache log4j. You can customize the logger
by changing the log4j.logger.org.apache
properties in
/etc/knox/conf/
gateway-log4j.properties
to another class that extends Log4j. For detailed information see Apache's log4j.