From dbd1f119ed68240f5886c5efd68f6973e98c41de Mon Sep 17 00:00:00 2001 From: Becca Petrin Date: Mon, 23 Apr 2018 09:08:12 -0700 Subject: [PATCH] Use a sub-logger for the transactional cache (#4428) --- vault/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault/core.go b/vault/core.go index 01adf9e8a..8b929c702 100644 --- a/vault/core.go +++ b/vault/core.go @@ -539,7 +539,7 @@ func NewCore(conf *CoreConfig) (*Core, error) { if txnOK { c.physical = physical.NewTransactionalCache(c.sealUnwrapper, conf.CacheSize, conf.Logger.ResetNamed("storage.cache")) } else { - c.physical = physical.NewCache(c.sealUnwrapper, conf.CacheSize, conf.Logger.Named("storage.cache")) + c.physical = physical.NewCache(c.sealUnwrapper, conf.CacheSize, conf.Logger.ResetNamed("storage.cache")) } c.physicalCache = c.physical.(physical.ToggleablePurgemonster)