Skip to content

Warn log LoadBalancerCaffeineWarnLogger is not obvious #1050

@Aloren

Description

@Aloren

Is your feature request related to a problem? Please describe.
When I start application with spring-cloud-loadbalancer in classpath I get the following log:

WARN 52773 --- [           main] iguration$LoadBalancerCaffeineWarnLogger : Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.

This log does not look very obvious to me. It seems like I have some misconfiguration and using default cache with concurrenthashmap is bad and it is better to use caffeine.

Describe the solution you'd like
If this is a suggestion, then it seems that INFO level is sufficient. If this really a WARNING, it would be nice to describe what are the issues with using default cache or why would I prefer to switch to caffeine instead.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions