From bc5d5b7319ef548224e776db7d07cc990be54d82 Mon Sep 17 00:00:00 2001 From: vishalnayak Date: Wed, 3 May 2017 12:45:22 -0400 Subject: [PATCH] consistent logging --- vault/token_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vault/token_store.go b/vault/token_store.go index 208883a55..683f7ab10 100644 --- a/vault/token_store.go +++ b/vault/token_store.go @@ -1141,14 +1141,14 @@ func (ts *TokenStore) handleTidy(req *logical.Request, data *framework.FieldData for _, parent := range parentList { children, err := ts.view.List(parentPrefix + parent + "/") if err != nil { - tidyErrors = multierror.Append(tidyErrors, fmt.Errorf("failed to read child index entry: %v", err)) + tidyErrors = multierror.Append(tidyErrors, fmt.Errorf("failed to read secondary index entry: %v", err)) continue } for _, child := range children { countParentList++ if countParentList%500 == 0 { - ts.logger.Debug("token: checking validity of tokens in parent list", "progress", countParentList) + ts.logger.Debug("token: checking validity of tokens in secondary index list", "progress", countParentList) } // Look up tainted entries so we can be sure that if this isn't