Enable debug mode

Hi All ,

in the link https://blog.camunda.com/post/2019/10/job-executor-what-is-going-on-in-my-process-engine/ can see we can enable debug log level.

Set the loggers org.camunda.bpm.engine.impl.persistence.entity.JobEntity , org.camunda.bpm.engine.jobexecutor , org.camunda.bpm.engine.cmd to DEBUG . This will produce output as follows:

Can anyone help us to understand where we should add this.

We are using camunda community edition with tomcat in docker.

here is answear for your question:

Add a file named logback.xml . Example configuration:


  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>

  <!-- camunda -->
  <logger name="org.camunda" level="info" />

  <!-- common dependencies -->
  <logger name="org.apache.ibatis" level="info" />
  <logger name="javax.activation" level="info" />
  <logger name="org.springframework" level="info" />

  <root level="debug">
    <appender-ref ref="STDOUT" />


This is what you can log:

  • org.camunda.bpm.engine.test
  • org.camunda.bpm.engine.bpmn.parser
  • org.camunda.bpm.engine.bpmn.behavior
  • org.camunda.bpm.engine.cmmn.transformer
  • org.camunda.bpm.engine.cmmn.behavior
  • org.camunda.bpm.engine.cmmn.operation
  • org.camunda.bpm.engine.cmd
  • org.camunda.bpm.engine.persistence
  • org.camunda.bpm.engine.tx
  • org.camunda.bpm.engine.cfg
  • org.camunda.bpm.engine.jobexecutor
  • org.camunda.bpm.engine.context
  • org.camunda.bpm.engine.core
  • org.camunda.bpm.engine.pvm
  • org.camunda.bpm.engine.metrics
  • org.camunda.bpm.engine.util
  • org.camunda.bpm.engine.rest.exception
  • org.camunda.bpm.application
  • org.camunda.bpm.container

Thanks for your reply.

can you tell me where should i keep the logback.xml (in which dir)

Hi @faizal_mulakkal,

if you run on your computer locally, you will put it into server/apache-tomcat-9.19.0/lib. Just add it to the classpath.

Another option would be to add a system property named “logback.configurationFile” like java -Dlogback.configurationFile=/path/to/config.xml. Perhaps that is easier for a docker container.

Hope this helps, Ingo