diff options
author | Alex Auvolat <alex@adnab.me> | 2020-12-04 14:22:31 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-12-04 14:22:31 +0100 |
commit | 84ba176ec93a6507728e03b6458875ffad23579a (patch) | |
tree | bca7aa1549cfcdb78a0ef8f66d64f785aa7c1c1d | |
parent | 0b041c77f4167fcb0d2d8445b736757af7b8208d (diff) | |
download | netapp-84ba176ec93a6507728e03b6458875ffad23579a.tar.gz netapp-84ba176ec93a6507728e03b6458875ffad23579a.zip |
no dup log
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | examples/basalt.rs | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -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 { |