Skip to content

Commit

Permalink
Suppress caffeine log warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Nov 30, 2024
1 parent ec5c67f commit 2fd351d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,5 @@ jackson:
logger:
levels:
io.seqera: "DEBUG"
io.micronaut.retry.intercept.RecoveryInterceptor: "OFF"
# ^^^^^^^^^^^^^^^^^^^^^
# Disable logs of `RecoveryInterceptor`, as they have been found to be noisy.
# Declarative `io.micronaut.http.client.annotation.@Client`s are annotated with `io.micronaut.retry.annotation@Recoverable`
# and throw an exception on every error response by default. `RecoveryInterceptor` ends up logging those exceptions
# even if they are handled and no actual recovery/fallback logic gets to take place.
# TODO remove once the project is updated to Micronaut 4.x, as @Client won't be annotated with @Recoverable anymore
# See https://github.com/micronaut-projects/micronaut-core/issues/3719; https://github.com/micronaut-projects/micronaut-core/pull/8235
com.github.benmanes.caffeine.cache.LocalAsyncCache: "ERROR"
...

0 comments on commit 2fd351d

Please sign in to comment.