add timestamp and emit log output to STDERR
[cloudstore.git] / gearman / list_files
index ff11c69..4be8768 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
 while read path ; do
+       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
        else