UDP send errors now kill requests right away

This commit is contained in:
Igor Katson 2023-11-28 11:31:34 +00:00
parent e9b7103c26
commit 7da46d0bbf
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 85 additions and 75 deletions

View file

@ -218,6 +218,7 @@ fn init_logging(opts: &Opts) -> tokio::sync::mpsc::UnboundedSender<String> {
layered
.with(
fmt::layer()
.with_ansi(false)
.with_writer(log_file)
.with_filter(EnvFilter::builder().parse(&opts.log_file_rust_log).unwrap()),
)