CA API Gateway 9.x - How to customize default SSG logs folder

Document ID : KB000111854
Last Modified Date : 22/08/2018
Show Technical Document Details
Introduction:

In some scenario, it can be a requirement to customize the default SSG logs (and custom logs) folder path.
For example:
  • organizational requirement
  • bigger logs size rotation
  • security

 
Instructions:

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.