Skip to content

Commit

Permalink
Simpler logs
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jan 24, 2022
1 parent f8f3fea commit 0116db9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions bee-node/src/entrynode/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,11 @@ impl NodeBuilder<EntryNode> for EntryNodeBuilder {

// Print the network info the node is trying to connect to.
log::info!(
"Joining network \"{}\"({}). Bech32 hrp \"{}\".",
"Joining network \"{}\", hrp \"{}\".",
network_spec.name(),
network_spec.id(),
network_spec.hrp()
);

// Print the local entity data.
log::info!("{}", builder.config().local());

// Add the resources that are shared throughout the node.
let builder = add_node_resources(builder)?;

Expand Down
6 changes: 1 addition & 5 deletions bee-node/src/fullnode/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,11 @@ impl<S: NodeStorageBackend> NodeBuilder<FullNode<S>> for FullNodeBuilder<S> {

// Print the network info the node is trying to connect to.
log::info!(
"Joining network \"{}\"({}). Bech32 hrp \"{}\".",
"Joining network \"{}\", hrp \"{}\".",
network_spec.name(),
network_spec.id(),
network_spec.hrp()
);

// Print the local entity data.
log::info!("{}", builder.config().local());

// Add the resources that are shared throughout the node.
let builder = add_node_resources(builder)?;

Expand Down

0 comments on commit 0116db9

Please sign in to comment.