Create a new folder and assign correct ownership and permissions.
In this example, the folder is "/opt/customlogspath"
# mkdir /opt/customlogpath
# chown gateway:gateway /opt/customlogspath
# chmod 700 /opt/customlogpath
Edit the system.properties file and add the following line in order to define the new logs path
com.l7tech.server.logDirectory=/<new_log_path>
For example, in this case...
# vi /opt/SecureSpan/Gateway/node/default/etc/conf/system.properties
... and append
com.l7tech.server.logDirectory=/opt/customlogspath
Restart the Gateway service.
New log should be now generated in the custom path