Change the Logging for Process Controller (sspc logs)

Document ID : KB000077180
Last Modified Date : 23/04/2018
Show Technical Document Details

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:

*** 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.