Logging

OpenFeign library used in the camunda-platform-7-rest-client-spring-boot has a high-configurable logging facility. In order to configure it, a block of properties e.g. in application.yml is required:

logging:
  level:
    org.camunda.community.rest.client.RuntimeServiceClient: DEBUG
    org.camunda.community.rest.client.RepositoryServiceClient: DEBUG
    org.camunda.community.rest.client.ExternalTaskServiceClient: DEBUG

In order to enable Request/Response logging, you need to configure additional Feign logging by providing a factory bean:

import feign.Logger;

@Configuration
public class MyConfiguration {
    /**
     * Full debug of feign client, including request/response
     */
    @Bean
    public Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }
}

Last update: November 18, 2022