From 568acdb85fdc949caa00180b4b3303f5d3680846 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Thu, 8 Feb 2024 14:24:26 +0000 Subject: [PATCH] Use `trace` rather than `error` --- client/cdk_runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cdk_runtime/src/lib.rs b/client/cdk_runtime/src/lib.rs index 98cdd0a..cf2da06 100644 --- a/client/cdk_runtime/src/lib.rs +++ b/client/cdk_runtime/src/lib.rs @@ -6,7 +6,7 @@ use rand::rngs::StdRng; use rand::{Rng, SeedableRng}; use serde::{Deserialize, Deserializer, Serialize, Serializer}; use std::time::Duration; -use tracing::error; +use tracing::{error, trace}; pub struct CdkRuntime { rng: StdRng, @@ -58,7 +58,7 @@ async fn flush_async( trigger_retry(); error!(?error, %canister_id, events = events_len, "Failed to call 'push_events'"); } else { - error!(%canister_id, events = events_len, "Successfully pushed events"); + trace!(%canister_id, events = events_len, "Successfully pushed events"); } }