mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 05:16:28 +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
|
// set the RUST_LOG env var to one of {debug,info,warn} to see logging info
|
||||||
tracing_subscriber::registry()
|
tracing_subscriber::registry()
|
||||||
.with(tracing_subscriber::fmt::layer().with_writer(std::io::stderr))
|
.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()
|
.try_init()
|
||||||
.ok();
|
.ok();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user