From 84ba176ec93a6507728e03b6458875ffad23579a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 4 Dec 2020 14:22:31 +0100 Subject: no dup log --- Dockerfile | 3 +-- examples/basalt.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea676ac..0ece89b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,7 @@ FROM archlinux:latest COPY target/release/examples/basalt /root/basalt -CMD /root/basalt ENV RUST_BACKTRACE=1 ENV RUST_LOG=netapp=info,netapp::peering=debug,basalt=info -CMD /garage/garage server -c /garage/config.toml +CMD /root/basalt diff --git a/examples/basalt.rs b/examples/basalt.rs index ea1ea7d..4c86cf8 100644 --- a/examples/basalt.rs +++ b/examples/basalt.rs @@ -128,7 +128,7 @@ async fn sampling_loop(netapp: Arc, basalt: Arc) { let peers = basalt.sample(10); for p in peers { - info!("KYEV S {}", hex::encode(p)); + debug!("kyev S {}", hex::encode(p)); let netapp2 = netapp.clone(); tokio::spawn(async move { -- cgit v1.2.3