Fix syntax errors in log-monitor.sh caused by grep returning multiple
values or empty strings. Use || true instead of || echo "0" fallback
and explicitly check for empty values.
Changes:
- Replace || echo "0" with || true
- Add explicit empty string checks before comparisons
- Ensures count variables are always single integers
Fixes error: "syntax error in expression (error token is "0")"
Testing: Confirmed working on production with ./log-monitor.sh --test