fix(log/echo): log → info for section-level status across 4 scripts

lidarr_cleanup, sonarr_cleanup, radarr_cleanup:
  container health result, safety layer 1 pass, import scan queued/complete,
  API query, found N items, in-memory map built, item|tracked count,
  tracked% safety check, first-run baseline, root/orphan-age config,
  empty folder cleanup start/done

cert_monitor:
  domains to check count, warn/crit threshold display

Per-item loop lines (Fetching N/M, Still scanning..., OK per-domain)
remain as log() — verbose only.
This commit is contained in:
Gmer4Lfe
2026-05-23 09:58:19 -04:00
parent b76072a318
commit 4c559f7791
4 changed files with 48 additions and 48 deletions
+3 -3
View File
@@ -127,7 +127,7 @@ if [[ ${#CERT_MONITOR_DOMAINS[@]} -eq 0 ]]; then
exit 0
fi
log "Domains to check: ${#CERT_MONITOR_DOMAINS[@]}"
info "Domains to check: ${#CERT_MONITOR_DOMAINS[@]}"
[[ "$DRY_RUN" == true ]] && warn "DRY RUN — results shown but no notifications sent"
@@ -203,8 +203,8 @@ check_cert() {
echo ""
echo "━━━ $ICON_CERT Certificate Monitor — $(date '+%Y-%m-%d %H:%M:%S') ━━━"
echo "$ICON_HOST $MY_ID ($LOCAL_SERVER_NAME)"
log "Warn threshold: ${CERT_WARN_DAYS} days"
log "Crit threshold: ${CERT_CRIT_DAYS} days"
info "Warn threshold: ${CERT_WARN_DAYS} days"
info "Crit threshold: ${CERT_CRIT_DAYS} days"
echo ""
START=$(date +%s)