Configuring a Non-default Location for Management and Orchestration Component Logs (v9.0.0 and up)

The purpose of this instruction is to configure a non-default location for Management and Orchestration component logs (i.e. Policy Manager). This can be performed in order to withstand hotfixes and upgrades and can be achieved by changing the component log file path in the associated component ‘.xml’ file with a new log file path.

Changing the Management and Orchestration Component Log File Location

  1. Locate the ‘log4j.xml’ file under C:\Program Files\Checkmarx\Checkmarx Risk Management\Tomcat\webapps\cxarm#policymanager\WEB-INF\classes. For this example, the Policy Manager ‘log4j.xml’ file is used.
  2. Open the ‘log4j.xml’ file and define the <file> keys with the desired path.

  3. Perform the same procedure for all the Management and Orchestration components:
    • Policy Manager: C:\Program Files\Checkmarx\Checkmarx Risk Management\Tomcat\webapps\cxarm#policymanager\WEB-INF\classes
    • Dashboard: C:\Program Files\Checkmarx Risk Management\Tomcat\webapps\cxarm#dashboardapi\WEB-INF\classes
    • Analytics: C:\Program Files\Checkmarx Risk Management\Tomcat\webapps\cxarm#cxanalytics\WEB-INF\classes
    • ETL: C:\Program Files\Checkmarx\Checkmarx Risk Management\ETL
    • Dashboard swagger: C:\Program Files\Checkmarx\Checkmarx Risk Management\Tomcat\webapps\cxarm#dashboardapi#swagger\WEB-INF\classes
    • Policy Manager swagger: C:\Program Files\Checkmarx Risk Management\Tomcat\webapps\cxarm#policymanager#swagger\WEB-INF\classes
  4. Go to the Services (Start > Control Panel > System and Security > Administrative Tools > Services) and restart the CxARM service.