[#158] metabase: Add logger to DB configuration

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-09 13:22:36 +03:00 committed by Alex Vanin
parent 60e4b5ddff
commit 36d5af812e
2 changed files with 15 additions and 1 deletions

View file

@ -370,6 +370,7 @@ func initLocalStorage(c *cfg) {
c.cfgObject.metastorage = meta.NewDB(
meta.FromBoltDB(boltDB),
meta.WithLogger(c.log),
)
}