below icon indicating copy to clipboard operation
below copied to clipboard

Logging to stderr is not flushed

Open brianc118 opened this issue 3 years ago • 0 comments

We use slog_async for logging. Sometimes, logs to stderr never show when they should, because the program terminates before it's logged. Maybe we're using std::process::exit somewhere? See https://docs.rs/slog-async/2.6.0/slog_async/#beware-of-stdprocessexit.

brianc118 avatar Jun 18 '21 04:06 brianc118