Implementing full async access log inspired by #45

This commit is contained in:
Ara Sadoyan
2026-06-29 21:35:10 +02:00
parent 99c7a811da
commit 874ce4fddb
4 changed files with 51 additions and 15 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ use crate::utils::parceyaml::load_configuration;
use crate::utils::structs::Configuration;
use crate::utils::tools::*;
use crate::utils::*;
use crate::web::logging::init_logging;
use crate::web::proxyhttp::LB;
use async_trait::async_trait;
use dashmap::DashMap;
@@ -77,7 +78,7 @@ impl BackgroundService for LB {
healthcheck::hc2(uu, ff, im, (&*hc_method.to_string(), hc_interval.to_string().parse().unwrap())).await
}));
drop(tokio::spawn(async move { refresh_order(certdir, confdir).await }));
init_logging(self.config.access_log.clone());
loop {
tokio::select! {
_ = shutdown.changed() => {