diff options
author | Nasser Grainawi <nasser.grainawi@linaro.org> | 2024-01-16 11:33:43 -0700 |
---|---|---|
committer | Nasser Grainawi <nasser.grainawi@linaro.org> | 2024-01-16 11:33:43 -0700 |
commit | 0ca24de06391b083b2be30a900db673b259b8c76 (patch) | |
tree | d127c11c8bc08b79b631444a278ca9fbd98b9de9 | |
parent | 92b74a5064fd892f5e492a80de9397b61a5a92d2 (diff) |
H2CacheImpl: Lower logging level for no pruning
Not having any work to do is less significant to admins than when there
is work to do. Decreasing the logging level allows admins to opt-in to
the "not pruning" messages.
Change-Id: Id68ecb1960c4f996df70420fd58416e957670471
Release-Notes: skip
-rw-r--r-- | java/com/google/gerrit/server/cache/h2/H2CacheImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/google/gerrit/server/cache/h2/H2CacheImpl.java b/java/com/google/gerrit/server/cache/h2/H2CacheImpl.java index f2f984315c..5c6fd7081e 100644 --- a/java/com/google/gerrit/server/cache/h2/H2CacheImpl.java +++ b/java/com/google/gerrit/server/cache/h2/H2CacheImpl.java @@ -663,7 +663,7 @@ public class H2CacheImpl<K, V> extends AbstractLoadingCache<K, V> implements Per } String formattedMaxSize = CacheInfo.EntriesInfo.bytes(maxSize); if (used <= maxSize) { - logger.atInfo().log( + logger.atFine().log( "Cache %s size (%s) is less than maxSize (%s), not pruning", url, CacheInfo.EntriesInfo.bytes(used), formattedMaxSize); return; |