diff --git a/Cargo.lock b/Cargo.lock index 771b816ccee45..1ccfe1f15f69e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6113,9 +6113,9 @@ dependencies = [ "rocksdb", "serde 1.0.137", "sui-types", + "telemetry-subscribers 0.1.0 (git+https://github.com/MystenLabs/mysten-infra?rev=2de1a391654a7ee09d867de2f16627b915ad21f0)", "tokio", "tracing", - "tracing-subscriber 0.3.11", "typed-store 0.1.0 (git+https://github.com/MystenLabs/mysten-infra?rev=988cad6aaafac84d52a93227a16867bf27c1ea4c)", "workspace-hack", ] diff --git a/crates/sui-storage/Cargo.toml b/crates/sui-storage/Cargo.toml index 8c33b8176c722..9f0ff2cfa7c2a 100644 --- a/crates/sui-storage/Cargo.toml +++ b/crates/sui-storage/Cargo.toml @@ -25,4 +25,4 @@ move-core-types = { git = "https://github.com/move-language/move", rev = "1b2d3b [dev-dependencies] pretty_assertions = "1.2.0" -tracing-subscriber = "0.3.9" +telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "2de1a391654a7ee09d867de2f16627b915ad21f0" } diff --git a/crates/sui-storage/src/lock_service.rs b/crates/sui-storage/src/lock_service.rs index f74737df549fb..276cf82d712ee 100644 --- a/crates/sui-storage/src/lock_service.rs +++ b/crates/sui-storage/src/lock_service.rs @@ -565,8 +565,8 @@ mod tests { #[tokio::test] async fn test_lockservice_conc_acquire_init() { + telemetry_subscribers::init_for_testing(); let ls = init_lockservice(); - tracing_subscriber::fmt::init(); let ref1: ObjectRef = (ObjectID::random(), 1.into(), ObjectDigest::random()); let ref2: ObjectRef = (ObjectID::random(), 1.into(), ObjectDigest::random());