I can't edit Identity Log pattern on Camunda8.5

Configure logging | Camunda 8 Docs

Configuration variables | Camunda 8 Docs

From 8.5 docs I want to change Identity Log pattern by setting Environment

IDENTITY_LOG_PATTERN

as per docs. It not work.

Example pattern I want

%clr{–Custom Log pattern–}{faint} %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%kvp- %msg%n

Please help me. Thank you for taking the time to help me.

Hi @iBlurBlur
Could you provide more details about the issue? It would be helpful to see exactly how and where you set the variable and describe what you mean by “it’s not working”. Does it ignore the value, or do you see any errors?
Some details about your setup could also be helpful as well as any additional details.

Regards,
Alex

I am using Helm chart 10.1.0 (Camunda 8.5) for installation. I have added env:IDENTITY_LOG_PATTERN but the log is not showing as I want.

Helm chart:

identity:
  env:
    - name: IDENTITY_LOG_PATTERN
      value: "%clr{–Custom Log pattern–}{faint} %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%kvp- %msg%n"

Environment variable in identity container:

Identity log:

From the picture you can see that there is no word “–Custom Log pattern–” displayed in the log even though I defined it in the Environment variable according to the document.

My goal is to have a custom log pattern. Is there a way to do this?

What if you try to simplify the value for IDENTITY_LOG_PATTERN for testing purposes?

For example you some like: “%clr{%d{yyyy-MM-dd HH:mm:ss.SSS}}{faint} %clr{–Custom Log pattern–}{faint} %m%n%xwEx”

Does it make any difference?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.