server: make sure that the various replication loggers use consistent logging (#8745)
This commit is contained in:
parent
d23851a9a7
commit
45609fccdf
|
@ -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