Skip to content

Commit e019f3c

Browse files
committed
change rotate key logs to debug
1 parent cf7960e commit e019f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/cryptokeys/rotate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (k *rotator) rotateKeys(ctx context.Context) error {
152152
}
153153
}
154154
if validKeys == 0 {
155-
k.logger.Info(ctx, "no valid keys detected, inserting new key",
155+
k.logger.Debug(ctx, "no valid keys detected, inserting new key",
156156
slog.F("feature", feature),
157157
)
158158
_, err := k.insertNewKey(ctx, tx, feature, now)
@@ -194,7 +194,7 @@ func (k *rotator) insertNewKey(ctx context.Context, tx database.Store, feature d
194194
return database.CryptoKey{}, xerrors.Errorf("inserting new key: %w", err)
195195
}
196196

197-
k.logger.Info(ctx, "inserted new key for feature", slog.F("feature", feature))
197+
k.logger.Debug(ctx, "inserted new key for feature", slog.F("feature", feature))
198198
return newKey, nil
199199
}
200200

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy