Add extra ssct gen counter debug logs (#19980)
This commit is contained in:
parent
b7049eb3fc
commit
e4e34c0f96
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue