Skip to content

Setting logLevel() to BASIC breaks functionality in 8.6.0 #250

Description

@maximdim

Following works in 8.5.0 but not in 8.6.0, but if I change to .logLevel(Level.FULL) it works with 8.6.0 too.

client = Feign.builder()
    .encoder(new JacksonEncoder(mapper))
    .decoder(new JacksonDecoder(mapper))
    .client(new feign.okhttp.OkHttpClient(okHttpClient))
    .retryer(new Retryer.Default(0, 0, 1)) // do not retry calls
    .logger(new Slf4jLogger())
    .logLevel(Level.BASIC)
    .target(IReCaptchaClient.class, url);

In 8.6.0 call to client.someMethod() returns null with Level.BASIC but works as expected with Level.FULL. No other changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions