incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1190407 - /incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
Date Fri, 28 Oct 2011 15:55:40 GMT
Author: rvs
Date: Fri Oct 28 15:55:39 2011
New Revision: 1190407

URL: http://svn.apache.org/viewvc?rev=1190407&view=rev
Log:
BIGTOP-193. zookeeper doesn't generate any logs

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh?rev=1190407&r1=1190406&r2=1190407&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh Fri Oct
28 15:55:39 2011
@@ -121,6 +121,20 @@ install -d -m 0755 $PREFIX/$CONF_DIST_DI
 cp zoo.cfg conf/* $PREFIX/$CONF_DIST_DIR/
 ln -s $CONF_DIR $PREFIX/$LIB_DIR/conf
 
+# FIXME:
+cat << __EOT__ >> $PREFIX/$CONF_DIST_DIR/log4j.properties
+# Define some default values that can be overridden by system properties
+zookeeper.root.logger=INFO, CONSOLE
+zookeeper.console.threshold=INFO
+zookeeper.log.dir=.
+zookeeper.log.file=zookeeper.log
+zookeeper.log.threshold=DEBUG
+zookeeper.tracelog.dir=.
+zookeeper.tracelog.file=zookeeper_trace.log
+
+log4j.rootLogger=\${zookeeper.root.logger}
+__EOT__
+
 # Copy in the /usr/bin/zookeeper-server wrapper
 install -d -m 0755 $PREFIX/$LIB_DIR/bin
 



Mime
View raw message