From 988e821d3e586cc775c7a24f5ab731ca7e8aeab9 Mon Sep 17 00:00:00 2001 From: Goutham Veeramachaneni Date: Tue, 16 Apr 2019 12:19:56 +0530 Subject: [PATCH] Remove a very spammy debug line With us caching entries for 15mins only and doing client side validation after introducing permanent caching of older entries, this debug is expected to print for millions of keys. It's not a very useful line. Signed-off-by: Goutham Veeramachaneni --- pkg/chunk/storage/caching_index_client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/chunk/storage/caching_index_client.go b/pkg/chunk/storage/caching_index_client.go index 50db6868ea3..c4df850b885 100644 --- a/pkg/chunk/storage/caching_index_client.go +++ b/pkg/chunk/storage/caching_index_client.go @@ -276,7 +276,6 @@ func (s *cachingIndexClient) cacheFetch(ctx context.Context, keys []string) (bat } if readBatch.Expiry != 0 && time.Now().After(time.Unix(0, readBatch.Expiry)) { - level.Debug(log).Log("msg", "dropping index cache entry due to expiration", "key", key, "readBatch.Key", readBatch.Key, "expiry", time.Unix(0, readBatch.Expiry)) continue }