Skip to content

Commit 1c9ba5b

Browse files
committed
chore: reduce amount of logs on info level
1 parent 0b70b91 commit 1c9ba5b

File tree

1 file changed

+2
-2
lines changed
  • modules/ingestor/src/service/advisory/csaf

1 file changed

+2
-2
lines changed

modules/ingestor/src/service/advisory/csaf/creator.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl<'a> StatusCreator<'a> {
9898
.ok_or_else(|| crate::graph::error::Error::InvalidStatus(status.to_string()))?)
9999
}
100100

101-
#[instrument(skip_all, ret)]
101+
#[instrument(skip_all, err(level=tracing::Level::INFO))]
102102
pub async fn create<C: ConnectionTrait>(
103103
&mut self,
104104
graph: &Graph,
@@ -297,7 +297,7 @@ impl<'a> StatusCreator<'a> {
297297
Ok(())
298298
}
299299

300-
#[instrument(skip(self, connection), ret)]
300+
#[instrument(skip(self, connection), err(level=tracing::Level::INFO))]
301301
async fn create_status(
302302
&self,
303303
connection: &impl ConnectionTrait,

0 commit comments

Comments
 (0)