Skip to content

Commit

Permalink
remove env-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Shourya742 committed Feb 20, 2025
1 parent a3cbb48 commit fe11365
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 72 deletions.
68 changes: 1 addition & 67 deletions roles/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion roles/tests-integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tracing = "0.1.40"
translator_sv2 = { path = "../translator" }
rand = "0.8.4"
stratum-common = { path = "../../common" }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
tracing-subscriber = { version = "0.3.19"}

[lib]
path = "lib/mod.rs"
5 changes: 1 addition & 4 deletions roles/tests-integration/lib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use std::{
str::FromStr,
sync::Once,
};
use tracing_subscriber::EnvFilter;
use translator_sv2::TranslatorSv2;
use utils::get_available_address;

Expand All @@ -23,9 +22,7 @@ static LOGGER: Once = Once::new();

pub fn start_tracing() {
LOGGER.call_once(|| {
tracing_subscriber::fmt()
.with_env_filter(EnvFilter::from_default_env())
.init();
tracing_subscriber::fmt::init();
});
}

Expand Down

0 comments on commit fe11365

Please sign in to comment.