Unverified Commit f3fb09e4 authored by Kris Hung's avatar Kris Hung Committed by GitHub
Browse files

fix: Fix syntax for tokio-console (#1997)

parent dacffb87
......@@ -107,7 +107,7 @@ fn setup_logging() {
.with_ansi(!disable_ansi_logging())
.event_format(fmt::format().compact().with_timer(TimeFormatter::new()))
.with_writer(std::io::stderr)
.with_filter(filter(load_config));
.with_filter(filters(load_config()));
tracing_subscriber::registry()
.with(l)
.with(tokio_console_layer.with_filter(tokio_console_target))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment