Changing the logging level

You can configure the logging level for both IBM Security Case Management and IBM Security Orchestration & Automation to ERROR, WARN, INFO, or DEBUG. The default logging level is INFO.

About this task

The Red Hat OpenShift configmaps that are required by the application are created automatically during installation. To change the logging level, you must edit a configmap on the OpenShift cluster.

Procedure

  1. Log in to the Red Hat OpenShift Container Platform as OpenShift Administrator.
  2. Click Workloads > ConfigMaps and select your IBM Cloud Pak for Security project; for example, cp4s.
  3. Use the filter to search for isc-cases-logging-customer, and select the configmap.
    Tip: You can filter using customer to quickly find the Orchestration & Automation ConfigMaps.
  4. Click Actions > Edit configmap.
  5. In the data section at the bottom, enter a value for level to specify logging level that you want. The options are:
    • ERROR
    • WARN
    • INFO
    • DEBUG
    For example, for a WARN logging level, enter the following:
    level: 'WARN'
    Do not change any value except for level.
  6. Click Save to save the configmap.

    It takes some time for the changes to take effect and the output of the following logs from the application pod and ActiveMQ pod are updated:

    • cases-application-client-log-tailer
    • cases-application-monitor-log-tailer
    • cases-activemq-log-tailer
    • cases-scripting-log-tailer