#any way to log program crashes?

3 messages · Page 1 of 1 (latest)

gleaming pond
#
let file_appender = tracing_appender::rolling::hourly("./", "prefix.log");
    tracing_subscriber::fmt()
        .with_writer(file_appender)
        .with_ansi(false)
        .with_level(true)
        .with_max_level(tracing_subscriber::filter::LevelFilter::ERROR)
        .init();

my config for the tracing

#

just tested without setting any level, it still doesn't give error logs. at max, just warn.

#

not even panics are recorded