summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/log/scribe-tail-start
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/components/log/scribe-tail-start')
-rwxr-xr-xsca-cpp/trunk/components/log/scribe-tail-start3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/components/log/scribe-tail-start b/sca-cpp/trunk/components/log/scribe-tail-start
index 22f5101053..fc469b5488 100755
--- a/sca-cpp/trunk/components/log/scribe-tail-start
+++ b/sca-cpp/trunk/components/log/scribe-tail-start
@@ -35,10 +35,11 @@ else
file=$1
fi
fi
+host=`hostname`
mkdir -p `dirname $file`
touch $file
file=`echo "import os; print os.path.realpath('$file')" | python`
-tail -f -n 0 $file | $here/scribe-cat $category $type &
+tail -f -n 0 $file | $here/scribe-cat $host $category $type &