aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-12-04 14:22:31 +0100
committerAlex Auvolat <alex@adnab.me>2020-12-04 14:22:31 +0100
commit84ba176ec93a6507728e03b6458875ffad23579a (patch)
treebca7aa1549cfcdb78a0ef8f66d64f785aa7c1c1d
parent0b041c77f4167fcb0d2d8445b736757af7b8208d (diff)
downloadnetapp-84ba176ec93a6507728e03b6458875ffad23579a.tar.gz
netapp-84ba176ec93a6507728e03b6458875ffad23579a.zip
no dup log
-rw-r--r--Dockerfile3
-rw-r--r--examples/basalt.rs2
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<NetApp>, basalt: Arc<Basalt>) {
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 {