        let stacktrace_str_simplified = simplify_stack_trace_str(stacktrace.to_string());

        // if panic occurs, first do a simple logging with println!, in case the panic occurred within the logging-system
        println!("Got panic. @info:{} [see next log-message for stack-trace]", info);

        error!("Got panic. @info:{}\n@stackTrace:\n==========\n{}", info, stacktrace_str_simplified);
        std::process::abort();
    }));

    let (mut s1, r1): (ABSender<LogEntry>, ABReceiver<LogEntry>) = async_broadcast::broadcast(10000);
    s1.set_overflow(true);
    set_up_logging(s1.clone());
    (s1, r1)
}