Update log handler

This commit is contained in:
2023-08-09 02:27:17 +02:00
parent 556b447c82
commit 231e88c690
8 changed files with 108 additions and 57 deletions

View File

@@ -7,8 +7,12 @@ mod config;
#[tokio::main]
async fn main() {
tracing_subscriber::fmt()
.with_target(false)
.compact()
.init();
let _guard = sentry::init(config::CONFIG.sentry_dsn.clone());
pretty_env_logger::init();
let running = Arc::new(AtomicBool::new(true));
let r = running.clone();