mirror of https://github.com/status-im/consul.git
server: make sure that the various replication loggers use consistent logging (#8745)
This commit is contained in:
parent
c52c5e466b
commit
0064f1936e
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
server: make sure that the various replication loggers use consistent logging
|
||||||
|
```
|
|
@ -421,11 +421,11 @@ func NewServer(config *Config, flat Deps) (*Server, error) {
|
||||||
srv: s,
|
srv: s,
|
||||||
gatewayLocator: s.gatewayLocator,
|
gatewayLocator: s.gatewayLocator,
|
||||||
},
|
},
|
||||||
Logger: s.logger,
|
Logger: s.loggers.Named(logging.Replication).Named(logging.FederationState),
|
||||||
},
|
},
|
||||||
Rate: s.config.FederationStateReplicationRate,
|
Rate: s.config.FederationStateReplicationRate,
|
||||||
Burst: s.config.FederationStateReplicationBurst,
|
Burst: s.config.FederationStateReplicationBurst,
|
||||||
Logger: logger,
|
Logger: s.logger,
|
||||||
SuppressErrorLog: isErrFederationStatesNotSupported,
|
SuppressErrorLog: isErrFederationStatesNotSupported,
|
||||||
}
|
}
|
||||||
s.federationStateReplicator, err = NewReplicator(&federationStateReplicatorConfig)
|
s.federationStateReplicator, err = NewReplicator(&federationStateReplicatorConfig)
|
||||||
|
|
Loading…
Reference in New Issue