diff --git a/vault/token_store_util_common.go b/vault/token_store_util_common.go index 41a87c828..b633de231 100644 --- a/vault/token_store_util_common.go +++ b/vault/token_store_util_common.go @@ -36,6 +36,8 @@ func (ts *TokenStore) loadSSCTokensGenerationCounter(ctx context.Context) error if err != nil { return fmt.Errorf("malformed token generation counter found in storage: err %w", err) } + + ts.logger.Debug("loaded ssct generation counter", "generation", sscTokensGenerationCounter.Counter) ts.sscTokensGenerationCounter = sscTokensGenerationCounter return nil } @@ -61,5 +63,7 @@ func (ts *TokenStore) UpdateSSCTokensGenerationCounter(ctx context.Context) erro if err != nil { return err } + + ts.logger.Debug("updated ssct generation counter", "generation", ts.sscTokensGenerationCounter.Counter) return nil }