Use correct logging target for network bridge (#2057)

This commit is contained in:
Bastian Köcher
2020-12-02 14:00:23 +01:00
committed by GitHub
parent 26b8dbe120
commit b13052de12
+1 -1
View File
@@ -155,7 +155,7 @@ impl Network for Arc<sc_network::NetworkService<Block, Hash>> {
fn start_send(self: Pin<&mut Self>, action: NetworkAction) -> SubsystemResult<()> {
match action {
NetworkAction::ReputationChange(peer, cost_benefit) => {
tracing::debug!("reputation: {:?} for {}", cost_benefit, peer);
tracing::debug!(target: LOG_TARGET, "Changing reputation: {:?} for {}", cost_benefit, peer);
self.0.report_peer(
peer,
cost_benefit,