Set logging level to see INFO messages for custom GEL scripts
search cancel

Set logging level to see INFO messages for custom GEL scripts

book

Article ID: 76798

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Currently we only see "ERROR" messages from our custom GEL scripts. Is there a way to be able to have "INFO" messages / debug messages go into the logs for custom GEL scripts that run on our Clarity system?

Environment

Any

Resolution

Starting Clarity PPM 15.3 there is a new CSA/Log Setting for Error Logging. This allows you to configure the level of logging that you want to see for process GEL scripts using <gel:log>. As a default, only errors or fatal logs are persisted in the BPM_ERRORS table. Accordingly, only error messages appear on the user interface. Messages that are not logged in BPM_ERRORS are not visible.

You can change the default setting to allow logs for warnings and other informational messages so they also appear.

To enable this info level logging:

  1. Log in to Clarity
  2. Replace everything in the Clarity URL after "action:" with security.logs
  3. From the Logs tab drop down, select 'Edit Configuration"
  4. In the Process Engine Persistence Logging section, select Info for the following field:
    "Process Engine Persistence Log Level"
  5. Setting the level to "Info" for this section will give informational messages in the process engine logs.
    If “Detect Log Configuration Changes Automatically” is checked, no bg restart is necessary. 
     5. Save Changes

    For better performance, we recommend that once you are done with debugging, reset the value to Error for the Process Engine Log Level field