Tracing support (#3372)

* Tracing support

* Add console subscriber

* Add console subscriber
This commit is contained in:
Jai Agrawal
2025-03-09 13:01:24 -07:00
committed by GitHub
parent 9c5d817a8a
commit 5c8ed9a8ca
14 changed files with 306 additions and 52 deletions

View File

@@ -1,10 +1,10 @@
use flate2::read::GzDecoder;
use log::warn;
use maxminddb::geoip2::Country;
use std::io::{Cursor, Read};
use std::net::Ipv6Addr;
use tar::Archive;
use tokio::sync::RwLock;
use tracing::warn;
pub struct MaxMindIndexer {
pub reader: RwLock<Option<maxminddb::Reader<Vec<u8>>>>,