Update Log Monitoring Script
نجحت جميع الفحوصات
CI - Fruit API / build-and-test (push) Successful in 59s

هذا الالتزام موجود في:
ahmedgamalyousef
2025-10-07 20:20:16 +03:00
الأصل a16c81f503
التزام d9a41aa512

عرض الملف

@@ -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