diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-04-09 06:22:16 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-04-09 06:22:16 +0000 |
commit | 10753b34f309db0fbcc484716bafff09faada6fd (patch) | |
tree | fd49e510559d9954e767df664da017fb4923cf08 /sca-cpp/trunk/components/log/scribe-tail-start | |
parent | 5cc3ef4b5260a20ce28c3ada0d7edb364ca1688b (diff) |
Cleanup Scribe log output and add ability to log to a firehose Unix fifo pipe.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1311137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/log/scribe-tail-start')
-rwxr-xr-x | sca-cpp/trunk/components/log/scribe-tail-start | 3 |
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 & |