Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteaac36e

Browse files
committed
change rotate key logs to debug
1 parente7a1a16 commiteaac36e

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
ifvalidKeys==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
returnnewKey,nil
199199
}
200200

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp