mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-09 00:33:28 -04:00
Make rollback attempts trace level instead of debug level
This commit is contained in:
parent
f075d7a3cd
commit
adcc95d61a
1 changed files with 2 additions and 2 deletions
|
|
@ -140,8 +140,8 @@ func (m *RollbackManager) startRollback(path string) *rollbackState {
|
|||
// attemptRollback invokes a RollbackOperation for the given path
|
||||
func (m *RollbackManager) attemptRollback(path string, rs *rollbackState) (err error) {
|
||||
defer metrics.MeasureSince([]string{"rollback", "attempt", strings.Replace(path, "/", "-", -1)}, time.Now())
|
||||
if m.logger.IsDebug() {
|
||||
m.logger.Debug("rollback: attempting rollback", "path", path)
|
||||
if m.logger.IsTrace() {
|
||||
m.logger.Trace("rollback: attempting rollback", "path", path)
|
||||
}
|
||||
|
||||
defer func() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue