mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
default to debug logs
This commit is contained in:
@@ -341,7 +341,11 @@ impl Context {
|
||||
// set the RUST_LOG env var to one of {debug,info,warn} to see logging info
|
||||
tracing_subscriber::registry()
|
||||
.with(tracing_subscriber::fmt::layer().with_writer(std::io::stderr))
|
||||
.with(EnvFilter::from_default_env())
|
||||
.with(
|
||||
EnvFilter::builder()
|
||||
.with_default_directive(tracing_subscriber::filter::LevelFilter::DEBUG.into())
|
||||
.from_env_lossy(),
|
||||
)
|
||||
.try_init()
|
||||
.ok();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user