forked from TrueCloudLab/frostfs-http-gw
[#195] Use datapath tag in FrostFS pools logs
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
466f3a9531
commit
b362793e79
1 changed files with 2 additions and 2 deletions
|
@ -661,8 +661,8 @@ func (a *app) initPools(ctx context.Context) {
|
|||
errorThreshold = defaultPoolErrorThreshold
|
||||
}
|
||||
prm.SetErrorThreshold(errorThreshold)
|
||||
prm.SetLogger(a.log)
|
||||
prmTree.SetLogger(a.log)
|
||||
prm.SetLogger(a.log.With(logs.TagField(logs.TagDatapath)))
|
||||
prmTree.SetLogger(a.log.With(logs.TagField(logs.TagDatapath)))
|
||||
|
||||
prmTree.SetMaxRequestAttempts(a.config().GetInt(cfgTreePoolMaxAttempts))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue