below
below copied to clipboard
Logging to stderr is not flushed
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.