add timestamp and emit log output to STDERR
[cloudstore.git] / gearman / list_files
index 924e2dc..4be8768 100755 (executable)
@@ -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