no dup log

This commit is contained in:
Alex 2020-12-04 14:22:31 +01:00
parent 0b041c77f4
commit 84ba176ec9
2 changed files with 2 additions and 3 deletions

View file

@ -2,8 +2,7 @@ FROM archlinux:latest
COPY target/release/examples/basalt /root/basalt COPY target/release/examples/basalt /root/basalt
CMD /root/basalt
ENV RUST_BACKTRACE=1 ENV RUST_BACKTRACE=1
ENV RUST_LOG=netapp=info,netapp::peering=debug,basalt=info ENV RUST_LOG=netapp=info,netapp::peering=debug,basalt=info
CMD /garage/garage server -c /garage/config.toml CMD /root/basalt

View file

@ -128,7 +128,7 @@ async fn sampling_loop(netapp: Arc<NetApp>, basalt: Arc<Basalt>) {
let peers = basalt.sample(10); let peers = basalt.sample(10);
for p in peers { for p in peers {
info!("KYEV S {}", hex::encode(p)); debug!("kyev S {}", hex::encode(p));
let netapp2 = netapp.clone(); let netapp2 = netapp.clone();
tokio::spawn(async move { tokio::spawn(async move {