Skip to content

Commit 91eaf8a

Browse files
committed
force trace logging in desktop
1 parent 1308677 commit 91eaf8a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apps/desktop/src-tauri/src/main.rs

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ use cap_desktop::DynLoggingLayer;
77
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
88

99
fn main() {
10+
unsafe {
11+
std::env::set_var("RUST_LOG", "trace");
12+
}
13+
1014
// We have to hold onto the ClientInitGuard until the very end
1115
let _guard = std::option_env!("CAP_DESKTOP_SENTRY_URL").map(|url| {
1216
sentry::init((

crates/media/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ serde = { version = "1", features = ["derive"] }
3030
specta.workspace = true
3131
tempfile = "3.12.0"
3232
thiserror.workspace = true
33-
tracing = { workspace = true, features = ["release_max_level_info"] }
33+
tracing = { workspace = true }
3434
futures = "0.3.31"
3535
axum = { version = "0.7.9", features = ["macros", "ws"] }
3636
tokio.workspace = true

0 commit comments

Comments
 (0)