Some small log improvements (#5110)

* improve provisioner log

* change log target from availability to availability-store
This commit is contained in:
Robert Habermeier
2022-03-14 14:22:48 -05:00
committed by GitHub
parent 3335ddc0da
commit 474a2c02c4
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ pub use self::metrics::*;
#[cfg(test)]
mod tests;
const LOG_TARGET: &str = "parachain::availability";
const LOG_TARGET: &str = "parachain::availability-store";
/// The following constants are used under normal conditions:
+4 -3
View File
@@ -511,9 +511,10 @@ async fn select_candidates(
tracing::debug!(
target: LOG_TARGET,
"Selected {} candidates for {} cores",
candidates.len(),
availability_cores.len()
n_candidates = candidates.len(),
n_cores = availability_cores.len(),
?relay_parent,
"Selected candidates for cores",
);
Ok(candidates)