Skip to content

Commit

Permalink
chore: reduce agents log verbosity, reword (#3026)
Browse files Browse the repository at this point in the history
There are way too many `No message found in DB for leaf index` logs to
have them at debug level. Also the wording makes it seem like an error
when it's not.
  • Loading branch information
daniel-savu authored Dec 5, 2023
1 parent 98bb228 commit 36de5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/agents/relayer/src/merkle_tree/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use hyperlane_base::db::HyperlaneRocksDB;
use hyperlane_core::{HyperlaneDomain, MerkleTreeInsertion};
use prometheus::IntGauge;
use tokio::sync::RwLock;
use tracing::debug;
use tracing::trace;

use crate::processor::ProcessorExt;

Expand Down Expand Up @@ -76,7 +76,7 @@ impl MerkleTreeProcessor {
.set(insertion.index() as i64);
Some(insertion)
} else {
debug!(leaf_index=?self.leaf_index, "No message found in DB for leaf index");
trace!(leaf_index=?self.leaf_index, "No merkle tree insertion found in DB for leaf index, waiting for it to be indexed");
None
};
Ok(leaf)
Expand Down

0 comments on commit 36de5bc

Please sign in to comment.