Commit 675fd262 authored by Peter Goodspeed-Niklaus's avatar Peter Goodspeed-Niklaus
Browse files

REVERT ME: more tracing logging

parent e09e1564
Pipeline #114914 failed with stages
in 21 minutes and 18 seconds
......@@ -1488,8 +1488,21 @@ where
}
}
AllMessages::CandidateBacking(msg) => {
{
if let CandidateBackingMessage::GetBackedCandidates(relay_parent, ..) = &msg {
tracing::info!(target: LOG_TARGET, relay_parent = ?relay_parent, "Overseer passing along CandidateBackingMessage::GetBackedCandidates");
}
}
if let Some(ref mut s) = self.candidate_backing_subsystem.instance {
let _ = s.tx.send(FromOverseer::Communication { msg }).await;
let send_result = s.tx.send(FromOverseer::Communication { msg }).await;
tracing::info!(
target: LOG_TARGET,
send_result = ?send_result,
"Overseer sent message to candidate backing subsystem instance",
);
} else {
tracing::warn!(target: LOG_TARGET, "Overseer candidate backing subsystem instance missing");
}
}
AllMessages::CandidateSelection(msg) => {
......
......@@ -636,6 +636,8 @@ impl<Spawner: SpawnNamed, Job: 'static + JobTrait> Jobs<Spawner, Job> {
tracing::debug!(job = Job::NAME, "failed to send message to job, will remove it");
job.remove();
}
} else {
tracing::warn!(relay_parent = ?parent_hash, "received message for unknown job");
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment