diff --git a/functions/logging.sh b/functions/logging.sh index 6e79b8f..a102846 100644 --- a/functions/logging.sh +++ b/functions/logging.sh @@ -23,7 +23,10 @@ function drupal_ti_log_output() { if [ -n "$LOG_OUTPUT" ] then echo "Logging output of '$FILE' channel to $LOGFILE and stdout." - tee "$LOGFILE" | nl -b n -s "$FILE> " + tee "$LOGFILE" | while read LINE + do + echo "... $FILE> $LINE" + done else echo "Logging output of '$FILE' channel to $LOGFILE." cat - > "$LOGFILE"