Change the Logging for Process Controller (sspc logs)

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

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

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

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

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

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 logging.properties with the above contents
5. chmod 755 logging.properties
6. chown layer7:layer7 logging.properties
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.