From da869ddbf9637e3fd11a295c7318eb0fc8c5354e Mon Sep 17 00:00:00 2001 From: Matt Fellows <53900+mefellows@users.noreply.github.com> Date: Fri, 5 Jul 2024 00:13:50 +1000 Subject: [PATCH] fix: reduce log level for matching to debug --- rust/pact_matching/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rust/pact_matching/src/lib.rs b/rust/pact_matching/src/lib.rs index 8fc0914f3..515a9d9d5 100644 --- a/rust/pact_matching/src/lib.rs +++ b/rust/pact_matching/src/lib.rs @@ -1662,7 +1662,7 @@ pub async fn match_request<'a>( pact: &Box, interaction: &Box ) -> RequestMatchResult { - info!("comparing to expected {}", expected); + debug!("comparing to expected {}", expected); debug!(" body: '{}'", expected.body.display_string()); debug!(" matching_rules: {:?}", expected.matching_rules); debug!(" generators: {:?}", expected.generators); @@ -1737,7 +1737,7 @@ pub async fn match_response<'a>( ) -> Vec { let mut mismatches = vec![]; - info!("comparing to expected response: {}", expected); + debug!("comparing to expected response: {}", expected); #[allow(unused_mut, unused_assignments)] let mut plugin_data = hashmap!{}; #[cfg(feature = "plugins")] { @@ -1904,7 +1904,7 @@ pub async fn match_message<'a>( let mut mismatches = vec![]; if expected.is_message() && actual.is_message() { - info!("comparing to expected message: {:?}", expected); + debug!("comparing to expected message: {:?}", expected); let expected_message = expected.as_message().unwrap(); let actual_message = actual.as_message().unwrap(); @@ -1965,7 +1965,7 @@ pub async fn match_sync_message_request<'a>( actual: &SynchronousMessage, pact: &Box ) -> Vec { - info!("comparing to expected message request: {:?}", expected); + debug!("comparing to expected message request: {:?}", expected); let matching_rules = &expected.request.matching_rules; #[allow(unused_mut, unused_assignments)] let mut plugin_data = hashmap!{}; @@ -2002,7 +2002,7 @@ pub async fn match_sync_message_response<'a>( actual_responses: &[MessageContents], pact: &Box ) -> Vec { - info!("comparing to expected message responses: {:?}", expected_responses); + debug!("comparing to expected message responses: {:?}", expected_responses); let mut mismatches = vec![];