Open httpbind.conf.
See httpbind.conf File Location for information on finding this file.
Set the value of the httpbind.log4j.config parameter to the location of the XMPP/HTTP Gateway log configuration file.
Save and close httpbind.conf.
Restart the gateway using the tools provided by the web or application server.