fix(logging): switch to compact output

This commit is contained in:
Harsh Shandilya 2022-12-23 22:11:00 +05:30 committed by GitHub
parent a169c6d036
commit b8f381356d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ fn configure_tracing(filter: Targets) -> Result<(), SetGlobalDefaultError> {
let registry = registry();
#[cfg(feature = "console")]
let registry = registry.with(console_subscriber::spawn());
let stdout_log = fmt::layer().pretty();
let stdout_log = fmt::layer().compact();
let subscriber = registry.with(stdout_log.with_filter(filter));
set_global_default(subscriber)
}