Previous Topic: How to Change the Log Level TemporarilyNext Topic: How to Promote a Test System


How to Log Metrics Panel Data

As a CA Chorus administrator, you can log metric data each time a new data point is added to the Metrics panel. Doing so helps you debug issues with the metric data. The logged metric data includes the details of all charts in the Metrics panel and the data points for each of these charts. This metric data is logged in the server.log file.

Important! Metric data is logged in the server.log file each time that data is added to the Metrics panel. If your site frequently adds data to the Metrics panel, the server.log file can grow quickly. Use this setting only under the direction of CA Support.

Note: All log files are located in /cai/cetjr4m0/logs by default.

Follow these steps:

  1. Edit the following system property in the ENVETJ member of chorus_runtime_hlq.CETJOPTN:
    IJO="$IJO -Dcom.ca.chorus.logMetricsData=enable_log"
    
    enable_log

    Specifies whether Metrics panel data is generated and logged in the server.log file.

    Values: True (enable logging) or False (disable logging)

    Default: False

    Example:

    In this example, we enable logging the Metrics panel data:

    IJO="$IJO -Dcom.ca.chorus.logMetricsData=true"
    
  2. Save your changes.
  3. Start the CA Chorus Application Server (CHORJBOS started task) to activate the system property:
    S CHORJBOS
    

    The following message appears when the CA Chorus Application server startup is complete:

    ETJTC001I CA Chorus Startup Complete
    

The ENVETJ member is updated, and the changes are applied as applicable to the server.log file.