search cancel

Change the Logging for Process Controller (sspc logs)


Article ID: 77180


Updated On:


STARTER PACK-7 CA Rapid App Security CA API Gateway


BootstrapConfig.initLogging() specifies that the logging for the Process Controller comes from com/l7tech/server/processcontroller/resources/ which can be found in /opt/SecureSpan/Controller/Controller.jar According to this method, this properties file can be overloaded by dropping a into /opt/SecureSpan/Controller/etc/conf/.

Thus the following log file could be used to increase the logging level for the Process Controller:


Component: APIGTW


*** please take a backup of your environment and test in a lower environment ***

1. cd /opt/SecureSpan/Controller/etc/conf
2. touch
3. vi

insert the below (you can change these values to whatever you need):

java.util.logging.FileHandler.limit = 1000
java.util.logging.FileHandler.append = true
java.util.logging.FileHandler.count = 20

4. save the new with the above contents
5. chmod 755
6. chown layer7:layer7
7. service ssg restart
8. ls -lah /opt/SecureSpan/Controller/var/logs

watch the sspc logs increase to ensure more and more files are being kept.