From d9a41aa512f6c9ba038d2b3943104f0d6ad893e2 Mon Sep 17 00:00:00 2001 From: ahmedgamalyousef Date: Tue, 7 Oct 2025 20:20:16 +0300 Subject: [PATCH] Update Log Monitoring Script --- log_monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log_monitor.sh b/log_monitor.sh index 8f8b955..177ded4 100755 --- a/log_monitor.sh +++ b/log_monitor.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash LOG_FILE="fruit_api.log" -ALERT_URL=" " # Here Any Endpoint +# ALERT_URL=" " # Here Any Endpoint tail -Fn0 "$LOG_FILE" | while read line; do if echo "$line" | grep -qiE "STATUS:(4[0-9]{2}|5[0-9]{2})|failed|timeout|error|exception"; then