In some scenarios, it may be needed to change the default SSG logs (and custom sink logs) folder path.
For example:
Broadcom API Gateway 10.1/11+
Create a new log folder (replace /<customlogspath> with the desired path e.g. /tmp/logs)
# mkdir /<customlogspath>
Assign to the folder the correct permissions/ownership
# chown gateway:gateway /<customlogspath>
# chmod 775 /<customlogspath>
Edit the system.properties file and use the following property to instruct the Gateway to write logs in the custom path:
com.l7tech.server.logDirectory
# nano /opt/SecureSpan/Gateway/node/default/etc/conf/system.properties
... and append the following under the Configuration properties section:
com.l7tech.server.logDirectory=/<customlogspath>
Fully stop and then start the Gateway service for the change to be effective
# service ssg stop/start