8

I am using caffeine cache provider with spring annotations, I am not able to see the logs from caffeinecachemanager when the entry’s put in cache or evicted or any activities that happens on cache.Do I have to explicitly mention the properties to enable or disable the caffeine logs ?

Can anyone please help with the below ? How to log a message when @cachable populate the cache? How to log when a cache entry evicted from cache ? Is there any way I can check all cache entries stored with cache name ? Does AOP configurations required when using spring annotations and CaffeineCacheManager. ?if so pls help with the sample example.

Ags
  • 81
  • 3
  • 2
    Any help from This forum can be appreciated !!! – Ags Feb 12 '18 at 06:44
  • 1
    Does this answer your question? [Spring cache logging on @Cacheable hit](https://stackoverflow.com/questions/37281139/spring-cache-logging-on-cacheable-hit) – jnnnnn Jun 01 '22 at 00:42

0 Answers0