mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-04 20:06:27 +02:00
Use a sub-logger for the transactional cache (#4428)
This commit is contained in:
parent
87e54d12b2
commit
8ab8c91cdf
@ -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…
x
Reference in New Issue
Block a user