From a53a2623bb0764da9f6bd24b583873054f680356 Mon Sep 17 00:00:00 2001 From: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> Date: Thu, 2 Jan 2025 11:05:01 -0800 Subject: [PATCH] set log levels to debug for ios and android (#1451) Co-authored-by: cameronvoell --- bindings_ffi/src/logger.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bindings_ffi/src/logger.rs b/bindings_ffi/src/logger.rs index a2b2d7a27..70cd559a5 100644 --- a/bindings_ffi/src/logger.rs +++ b/bindings_ffi/src/logger.rs @@ -13,7 +13,9 @@ mod android { where S: Subscriber + for<'a> LookupSpan<'a>, { - paranoid_android::layer(env!("CARGO_PKG_NAME")).with_thread_names(true) + paranoid_android::layer(env!("CARGO_PKG_NAME")) + .with_thread_names(true) + .with_filter(tracing_subscriber::filter::LevelFilter::DEBUG) } } @@ -30,6 +32,7 @@ mod ios { use tracing_oslog::OsLogger; let subsystem = format!("org.xmtp.{}", env!("CARGO_PKG_NAME")); OsLogger::new(subsystem, "default") + .with_filter(tracing_subscriber::filter::LevelFilter::DEBUG) } }