Change the Logging for Process Controller (sspc logs)
book
Article ID: 77180
calendar_today
Updated On:
Products
CA API Gateway (Layer 7)SA94 to API SECURITYSTARTER PACK-7CA Rapid App SecurityMOBILE API GATEWAYCA Mobile - API GatewayCA API Gateway
Issue/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:
Environment
Release: Component: APIGTW
Resolution
*** 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):
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.