Skip to content

Commit 16d18e1

Browse files
author
Tim Bruijnzeels
committed
Reduce logging verbosity of BGP announcement refreshing.
1 parent 627bf8b commit 16d18e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commons/bgp/analyser.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ impl BgpAnalyser {
4343
let mut seen = self.seen.write().unwrap();
4444
if let Some(last_time) = seen.last_updated() {
4545
if (last_time + Duration::minutes(BGP_RIS_REFRESH_MINUTES)) > Time::now() {
46-
debug!("Will not check BGP Ris Dumps until the refresh interval has passed");
46+
trace!("Will not check BGP Ris Dumps until the refresh interval has passed");
4747
return Ok(false); // no need to update yet
4848
}
4949
}
5050
let announcements = loader.download_updates().await?;
5151
if seen.equivalent(&announcements) {
52-
info!("BGP Ris Dumps unchanged");
52+
debug!("BGP Ris Dumps unchanged");
5353
Ok(false)
5454
} else {
5555
info!(
56-
"Found {} announcements based on BGP Ris Dumps",
56+
"Updated announcements ({}) based on BGP Ris Dumps",
5757
announcements.len()
5858
);
5959
seen.update(announcements);

0 commit comments

Comments
 (0)