How to log Camunda receiving input request and output response through Tomcat server?

I have python API that I used in camunda bpmn by using http-connector and that is working fine. I need to log API request and response everthing but it’s not generating. I added logback.xml file in server/apache-tomcat-9.19.0/lib. my xml file is.


  <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.bpm.engine.impl.persistence.entity.JobEntity" level="DEBUG" />
  <logger name="org.camunda.bpm.engine.jobexecutor" level="DEBUG" />
  <logger name="org.camunda.bpm.engine.cmd" level="DEBUG" />
  <logger name="org.camunda.bpm.engine.externaltask" level="DEBUG" />
  <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" />


I tried with file also

<appender name="FILE-AUDIT"
    <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            %d{yyyy-MM-dd HH:mm:ss} - %msg%n


Suggest here what I need to change or add.