Skip to content

Commit

Permalink
less noisy iij ihr loading process
Browse files Browse the repository at this point in the history
  • Loading branch information
digizeph committed Jul 11, 2024
1 parent e9e6af2 commit 74c4f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/asinfo/hegemony.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use anyhow::{anyhow, Result};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use tracing::{info, warn};
use tracing::{debug, info};

const IIJ_IHR_HEGEMONY_IPV4_GLOBAL: &str =
"https://data.bgpkit.com/ihr/hegemony/ipv4/global/latest-simplified.csv.gz";
Expand Down Expand Up @@ -36,7 +36,7 @@ fn load_hegemony(path: &str) -> Result<Vec<(u32, f64)>> {
let asn = match splits[0].parse::<u32>() {
Ok(asn) => asn,
Err(_) => {
warn!("invalid ASN: {}", text);
debug!("invalid ASN: {}", text);
continue;
}
};
Expand Down

0 comments on commit 74c4f4f

Please sign in to comment.