forked from TrueCloudLab/frostfs-node
[#195] object/range: Add option to set logger
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
cf2dc37a42
commit
af6484e3b1
2 changed files with 12 additions and 0 deletions
|
@ -303,6 +303,7 @@ func initObjectService(c *cfg) {
|
|||
rangesvc.WithLocalAddressSource(c),
|
||||
rangesvc.WithWorkerPool(c.cfgObject.pool.rng),
|
||||
rangesvc.WithHeadService(sHead),
|
||||
rangesvc.WithLogger(c.log),
|
||||
)
|
||||
|
||||
sRangeV2 := rangesvcV2.NewService(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue