From 1e0d4334c75e1f93d57cfe8a5c06c38ad6f0b1f4 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 11 Apr 2012 20:18:02 +0200 Subject: [PATCH] add timestamp and emit log output to STDERR --- gearman/list_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gearman/list_files b/gearman/list_files index 924e2dc..4be8768 100755 --- a/gearman/list_files +++ b/gearman/list_files @@ -1,7 +1,7 @@ #!/bin/sh while read path ; do - echo "## list_files [$path]" + echo `date +%Y-%m-%d.%H:%M:%S`" list_files [$path]" >&2 eval path=$path # expand ~ if [ -e $path/.meta/files ] ; then cat $path/.meta/files -- 2.20.1