Skip to content

Commit

Permalink
chore: reducing logging of things that are ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Dec 16, 2024
1 parent bd139c3 commit 1b43a55
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/importer/src/server/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{
time::{Duration, Instant},
};
use tokio::sync::Mutex;
use tracing::instrument;
use tracing::{instrument, Level};

/// Context for an import run
#[derive(Debug)]
Expand Down Expand Up @@ -85,7 +85,10 @@ impl CheckCancellation {
self.canceled
}

#[instrument(ret)]
#[instrument(
ret(level=Level::DEBUG),
err(level=Level::INFO),
)]
async fn perform_check(&self) -> anyhow::Result<bool> {
let importer = self.service.read(&self.importer_name).await?;

Expand Down

0 comments on commit 1b43a55

Please sign in to comment.