From 8798de6839add05e4eed616e390dbb83d92dffa1 Mon Sep 17 00:00:00 2001 From: DustInDark Date: Mon, 20 Dec 2021 00:44:31 +0900 Subject: [PATCH] changed log directory path and removed error counter #301 --- src/detections/print.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/detections/print.rs b/src/detections/print.rs index 9e7820d2..43efff98 100644 --- a/src/detections/print.rs +++ b/src/detections/print.rs @@ -41,10 +41,9 @@ lazy_static! { pub static ref MESSAGES: Mutex = Mutex::new(Message::new()); pub static ref ALIASREGEX: Regex = Regex::new(r"%[a-zA-Z0-9-_]+%").unwrap(); pub static ref ERROR_LOG_PATH: String = format!( - "./hayabusa-logs/errorlog-{}.log", + "./logs/errorlog-{}.log", Local::now().format("%Y%m%d_%H%M%S") ); - pub static ref ALERT_COUNT_IN_ERROR_LOG: Mutex = Mutex::new(Counter::new()); } #[derive(Copy, Clone)]