Bring back log prefixing (#245)

This commit is contained in:
Bastian Köcher
2020-11-23 00:08:52 +01:00
committed by GitHub
parent 2d7f37ed1d
commit b11ec7ea9f
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -1218,6 +1218,7 @@ dependencies = [
"polkadot-overseer",
"polkadot-primitives",
"polkadot-service",
"sc-cli",
"sc-client-api",
"sc-service",
"sp-api",
+1
View File
@@ -94,6 +94,7 @@ pub fn new_partial(
/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.
///
/// This is the actual implementation that is abstract over the executor and the runtime api.
#[sc_cli::prefix_logs_with("Parachain")]
async fn start_node_impl<RB>(
parachain_config: Configuration,
collator_key: CollatorPair,
+1
View File
@@ -13,6 +13,7 @@ cumulus-primitives = { path = "../primitives" }
# Substrate dependencies
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
+1
View File
@@ -292,6 +292,7 @@ pub fn prepare_node_config(mut parachain_config: Configuration) -> Configuration
}
/// Build the Polkadot full node using the given `config`.
#[sc_cli::prefix_logs_with("Relaychain")]
pub fn build_polkadot_full_node(
config: Configuration,
collator_id: CollatorId,