[#1437] node: Use ctx for logging
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
c16dae8b4d
commit
6db46257c0
157 changed files with 764 additions and 713 deletions
|
@ -45,7 +45,7 @@ func New(opts ...Option) *Replicator {
|
|||
opts[i](c)
|
||||
}
|
||||
|
||||
c.log = &logger.Logger{Logger: c.log.With(zap.String("component", "Object Replicator"))}
|
||||
c.log = c.log.With(zap.String("component", "Object Replicator"))
|
||||
|
||||
return &Replicator{
|
||||
cfg: c,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue