From 00c3bfa0ad2d243005f8cc9b99d1fd7774606639 Mon Sep 17 00:00:00 2001 From: Seemant Aggarwal <seemant.aggarwal@parity.io> Date: Mon, 24 Feb 2025 00:11:32 +0530 Subject: [PATCH] explicit import for sc_tracing::logging --- templates/parachain/node/src/service.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/parachain/node/src/service.rs b/templates/parachain/node/src/service.rs index 8e638f190fa..8e423e0737d 100644 --- a/templates/parachain/node/src/service.rs +++ b/templates/parachain/node/src/service.rs @@ -31,6 +31,7 @@ use cumulus_relay_chain_interface::{OverseerHandle, RelayChainInterface}; // Substrate Imports use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; +use polkadot_sdk::sc_tracing::logging; use prometheus_endpoint::Registry; use sc_client_api::Backend; use sc_consensus::ImportQueue; @@ -228,7 +229,7 @@ fn start_consensus( } /// Start a node with the given parachain `Configuration` and relay chain `Configuration`. -#[sc_tracing::logging::prefix_logs_with("Parachain")] +#[logging::prefix_logs_with("Parachain")] pub async fn start_parachain_node( parachain_config: Configuration, polkadot_config: Configuration, -- GitLab