Skip to content

Commit

Permalink
fix(vault): lower the secret rotation error log level (#13537)
Browse files Browse the repository at this point in the history
FTI-5775

---------

Co-authored-by: Aapo Talvensaari <aapo.talvensaari@gmail.com>
(cherry picked from commit 022e079)
  • Loading branch information
windmgc authored and github-actions[bot] committed Aug 22, 2024
1 parent efc170c commit 3b9156c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: Error logs during Vault secret rotation are now logged at the `notice` level instead of `warn`.
type: bugfix
scope: Core
2 changes: 1 addition & 1 deletion kong/pdk/vault.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ local function new(self)

local ok, err = rotate_secret(cache_key, caching_strategy)
if not ok then
self.log.warn(err)
self.log.notice(err)
end
end

Expand Down

0 comments on commit 3b9156c

Please sign in to comment.