summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/log/scribed-client-conf
diff options
context:
space:
mode:
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>