mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Use a sub-logger for the transactional cache (#4428)
This commit is contained in:
parent
87e54d12b2
commit
8ab8c91cdf
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue