From 6de2c3010c523ec1d3a9afd98e991de00dd2377c Mon Sep 17 00:00:00 2001 From: wytch Date: Fri, 27 Feb 2026 21:30:32 -0600 Subject: [PATCH] Better logging --- savesync[start](permanent).ash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/savesync[start](permanent).ash b/savesync[start](permanent).ash index 6fae81e..5bce545 100644 --- a/savesync[start](permanent).ash +++ b/savesync[start](permanent).ash @@ -4,7 +4,7 @@ . /recalbox/share/system/configs/savesync/savesync.conf log() { - mosquitto_pub -h 127.0.0.1 -p 1883 -q 0 -t "$LOG_TOPIC" -m "SaveLog=[$(date '+%H:%M:%S')] [DAEMON] $1" 2>/dev/null + mosquitto_pub -h 127.0.0.1 -p 1883 -q 0 -t "$LOG_TOPIC" -m "SaveLog=[$(date '+%H:%M:%S')] [DAEMON] [$1] $2" 2>/dev/null } log "INFO" "--- Daemon Active ---"