Skip to content

Commit

Permalink
chore: bump version, cleanup logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fbozic committed May 20, 2024
1 parent dd286fe commit 52b9df0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions examples/chat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chat-example"
version = "0.1.0"
version = "0.2.0"
authors = ["Calimero Limited <[email protected]>"]
edition = "2021"
repository = "https://github.com/calimero-network/boot-node"
Expand All @@ -10,7 +10,6 @@ license = "MIT OR Apache-2.0"
clap = { version = "4.5.4", features = ["derive", "env"] }
eyre = "0.6.12"
libp2p = { version = "0.53.2", features = [
"autonat",
"dcutr",
"dns",
"gossipsub",
Expand Down
4 changes: 2 additions & 2 deletions examples/chat/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ enum Mode {
#[tokio::main]
async fn main() -> eyre::Result<()> {
tracing_subscriber::registry()
// "info,chat_example=debug,{}",
// "info,chat_example=debug,libp2p_mdns=warn,{}",
.with(EnvFilter::builder().parse(format!(
"info,chat_example=info,libp2p_mdns=warn,{}",
"info,libp2p_mdns=warn,{}",
std::env::var("RUST_LOG").unwrap_or_default()
))?)
.with(tracing_subscriber::fmt::layer())
Expand Down
2 changes: 1 addition & 1 deletion examples/chat/src/network/events/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use super::{EventHandler, EventLoop, RelayReservationState};

impl EventHandler<relay::client::Event> for EventLoop {
async fn handle(&mut self, event: relay::client::Event) {
debug!("{}: {:?}", "relay_client".yellow(), event);
debug!("{}: {:?}", "relay".yellow(), event);

match event {
relay::client::Event::ReservationReqAccepted { relay_peer_id, .. } => {
Expand Down

0 comments on commit 52b9df0

Please sign in to comment.