Tidy some CLI stuff. (#7227)

Co-authored-by: Gav Wood <gavin@parity.io>
This commit is contained in:
Sergei Shulepov
2020-09-28 21:28:32 +02:00
committed by GitHub
parent 62cfccbdd6
commit 54c7e3e9fb
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ async fn start_inner(chain_spec: Option<String>, log_level: String) -> Result<Cl
info!("✌️ version {}", config.impl_version);
info!("❤️ by Parity Technologies, 2017-2020");
info!("📋 Chain specification: {}", config.chain_spec.name());
info!("🏷 Node name: {}", config.network.node_name);
info!("🏷 Node name: {}", config.network.node_name);
info!("👤 Role: {:?}", config.role);
// Create the service. This is the most heavy initialization step.
+2 -2
View File
@@ -146,7 +146,7 @@ impl<C: SubstrateCli> Runner<C> {
/// 2020-06-03 16:14:21 ✌️ version 2.0.0-rc3-f4940588c-x86_64-linux-gnu
/// 2020-06-03 16:14:21 ❤️ by Parity Technologies <admin@parity.io>, 2017-2020
/// 2020-06-03 16:14:21 📋 Chain specification: Flaming Fir
/// 2020-06-03 16:14:21 🏷 Node name: jolly-rod-7462
/// 2020-06-03 16:14:21 🏷 Node name: jolly-rod-7462
/// 2020-06-03 16:14:21 👤 Role: FULL
/// 2020-06-03 16:14:21 💾 Database: RocksDb at /tmp/c/chains/flamingfir7/db
/// 2020-06-03 16:14:21 ⛓ Native runtime: node-251 (substrate-node-1.tx1.au10)
@@ -161,7 +161,7 @@ impl<C: SubstrateCli> Runner<C> {
Local::today().year(),
);
info!("📋 Chain specification: {}", self.config.chain_spec.name());
info!("🏷 Node name: {}", self.config.network.node_name);
info!("🏷 Node name: {}", self.config.network.node_name);
info!("👤 Role: {}", self.config.display_role());
info!("💾 Database: {} at {}",
self.config.database,
+1 -1
View File
@@ -236,7 +236,7 @@ impl<B: BlockT + 'static, H: ExHashT> NetworkWorker<B, H> {
let local_peer_id_legacy = bs58::encode(Borrow::<[u8]>::borrow(&local_peer_id)).into_string();
info!(
target: "sub-libp2p",
"🏷 Local node identity is: {} (legacy representation: {})",
"🏷 Local node identity is: {} (legacy representation: {})",
local_peer_id.to_base58(),
local_peer_id_legacy
);