From f966df4fb189f99b14b7564e7719fbbec345ee87 Mon Sep 17 00:00:00 2001 From: Jedrzej Stuczynski Date: Fri, 17 Jan 2020 11:44:08 +0000 Subject: [PATCH] Additional healthcheck logging --- common/healthcheck/src/path_check.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/healthcheck/src/path_check.rs b/common/healthcheck/src/path_check.rs index a06a91b609..62b94a86b1 100644 --- a/common/healthcheck/src/path_check.rs +++ b/common/healthcheck/src/path_check.rs @@ -1,6 +1,6 @@ use crypto::identity::{DummyMixIdentityKeyPair, MixnetIdentityKeyPair, MixnetIdentityPublicKey}; use itertools::Itertools; -use log::{debug, error, warn}; +use log::{debug, error, trace, warn}; use mix_client::MixClient; use provider_client::ProviderClient; use sphinx::header::delays::Delay; @@ -131,6 +131,7 @@ impl PathChecker { Ok(messages) => { let mut should_stop = false; for msg in messages.into_iter() { + trace!("received provider response: {:?}", msg); if msg == sfw_provider_requests::DUMMY_MESSAGE_CONTENT { // finish iterating the loop as the messages might not be ordered should_stop = true;