summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/log/scribed-client-conf
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2012-07-16 06:48:21 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2012-07-16 06:48:21 +0000
commit6ab0d6faaa4f3b4cf2ca45f4c80436ce83423b9a (patch)
tree7764689e24f7df9f247f502bc0d60f858edb9fbf /sca-cpp/trunk/components/log/scribed-client-conf
parent574ccee478b9da9457cdf0e476b8df6eb584b580 (diff)
Upgrade to HTTPD 2.4.2, APR 1.4.6, Memcached 1.4.13, Python 2.7.3, Ubuntu 12.04, and Mac OS X 10.7.4.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361918 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/log/scribed-client-conf')
-rwxr-xr-xsca-cpp/trunk/components/log/scribed-client-conf13
1 files changed, 8 insertions, 5 deletions
diff --git a/sca-cpp/trunk/components/log/scribed-client-conf b/sca-cpp/trunk/components/log/scribed-client-conf
index 8395b3f96e..e0a35581c7 100755
--- a/sca-cpp/trunk/components/log/scribed-client-conf
+++ b/sca-cpp/trunk/components/log/scribed-client-conf
@@ -22,10 +22,12 @@ here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $h
mkdir -p $1
root=`echo "import os; print os.path.realpath('$1')" | python`
-central=$2
-cport=$3
-if [ "$cport" = "" ]; then
- cport="1463"
+if [ "$3" = "" ]; then
+ host="*"
+ central=$2
+else
+ host=$2
+ central=$3
fi
mkdir -p $root/scribe/conf
@@ -34,6 +36,7 @@ mkdir -p $root/scribe/logs/client-secondary
cat >$root/scribe/conf/scribe-client.conf <<EOF
# Generated by: scribed-client-conf $*
# Scribe client configuration
+host=$host
port=1464
max_msg_per_second=2000000
check_interval=3
@@ -53,7 +56,7 @@ retry_interval_range=10
<primary>
type=network
remote_host=$central
-remote_port=$cport
+remote_port=1463
</primary>
<secondary>