feat: removing unnecessary logs from console (#753)

This commit is contained in:
Nishant Joshi
2023-03-16 02:49:29 +05:30
committed by GitHub
parent 58106d91f0
commit 1021d1ae53
2 changed files with 5 additions and 1 deletions

View File

@ -103,7 +103,7 @@ pub fn setup<Str: AsRef<str>>(
config::LogFormat::Default => {
let logging_layer = fmt::layer()
.with_timer(fmt::time::time())
.with_span_events(fmt::format::FmtSpan::ACTIVE)
.with_span_events(fmt::format::FmtSpan::NONE)
.pretty()
.with_writer(console_writer);