audit echo vs log across all scripts — outcomes always visible, verbose for per-item loops

This commit is contained in:
Gmer4Lfe
2026-06-14 12:40:15 -04:00
parent 4c37ab16fd
commit 3964f6fb46
1010 changed files with 377767 additions and 132 deletions
+5 -5
View File
@@ -177,7 +177,7 @@ if ! mountpoint -q "$RAMDISK_PATH" 2>/dev/null; then
exit 0
fi
log "Ramdisk is mounted ✅"
echo "Ramdisk is mounted ✅"
# Warn if transcode_manager is running — it may flip symlink back on next cycle
if pgrep -f "transcode_manager.sh" >/dev/null 2>&1; then
@@ -199,10 +199,10 @@ if [[ ! -d "$TRANSCODE_SSD" ]]; then
error "Cannot safely redirect symlink — aborting"
exit 1
}
log "SSD fallback created ✅"
echo "SSD fallback created ✅"
fi
else
log "SSD fallback exists: $TRANSCODE_SSD"
echo "SSD fallback exists: $TRANSCODE_SSD"
fi
START=$(date +%s)
@@ -253,7 +253,7 @@ if [[ "$FILE_COUNT" -gt 0 ]]; then
done
fi
else
log "No active files on ramdisk ✅"
echo "No active files on ramdisk ✅"
fi
# ==============================================================================================
@@ -303,7 +303,7 @@ last_flip_time=$NOW
flip_count_hour=0
flip_hour_start=$NOW
EOF
log "State file updated: current_target=$TRANSCODE_SSD"
echo "State file updated: current_target=$TRANSCODE_SSD"
else
warn "Skipping state file update — stop had errors"
fi