[#1619] logger: Set tags for node
components
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
c939a2a88e
commit
0f89e7817c
19 changed files with 63 additions and 20 deletions
|
@ -45,7 +45,7 @@ func New(opts ...Option) *Replicator {
|
|||
opts[i](c)
|
||||
}
|
||||
|
||||
c.log = c.log.With(zap.String("component", "Object Replicator"))
|
||||
c.log = c.log.With(zap.String("component", "Object Replicator")).WithTag(logger.TagReplicator)
|
||||
|
||||
return &Replicator{
|
||||
cfg: c,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue