From b241180aa85ad81f4ee0dca9bf3c0429916a6a18 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Sun, 11 May 2025 15:36:49 -0700 Subject: Significantly improve traceability and minor fixes. --- worker/scripts/log | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 worker/scripts/log (limited to 'worker/scripts/log') diff --git a/worker/scripts/log b/worker/scripts/log new file mode 100755 index 0000000..cbad088 --- /dev/null +++ b/worker/scripts/log @@ -0,0 +1,6 @@ +#!/bin/bash + +_PREFIX="" +if [[ ! "$LOG_PREFIX" = "" ]]; then _PREFIX="$LOG_PREFIX "; fi + +echo "$_PREFIX[$(date '+%Y-%m-%d %H:%M:%S')] $@" -- cgit v1.2.3-70-g09d2