Update Log Monitoring Script
CI - Fruit API / build-and-test (push) Successful in 59s

This commit is contained in:
ahmedgamalyousef
2025-10-07 20:20:16 +03:00
parent a16c81f503
commit d9a41aa512
+1 -1
View File
@@ -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