From b5685bbe400ff7d232617e59b405644519b5c071 Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Thu, 16 Sep 2021 22:25:33 +0100 Subject: [PATCH] chore: fix log name --- app_env/src/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app_env/src/config.rs b/app_env/src/config.rs index e5d827b..c15ded1 100644 --- a/app_env/src/config.rs +++ b/app_env/src/config.rs @@ -205,6 +205,7 @@ pub struct Config { pub logs_store: DataStore, pub logs_path: String, pub logs_format: String, + pub state_path: String, pub run_schedtasks: bool, pub schedtasks: Vec, pub run_websrvrs: bool, @@ -242,6 +243,7 @@ impl Config { app_cfg.cache_lock_path=format!("{}/{}",&app_home,&app_cfg.cache_lock_path); app_cfg.check_path=format!("{}/{}",&app_home,&app_cfg.check_path); app_cfg.monitor_rules_path=format!("{}/{}",&app_home,&app_cfg.monitor_rules_path); + app_cfg.state_path=format!("{}/{}",&app_home,&app_cfg.state_path); // let mut schedtasks: Vec = Vec::new(); // app_cfg.schedtasks.iter().enumerate().for_each(|(pos,it)| {