aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevi...@apache.org
Subject git commit: AURORA-244: Fix zookeeper logs being swallowed due to missing log4j.properties
Date Mon, 14 Apr 2014 21:17:16 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 5c6ab8fde -> 6bd8722cf


AURORA-244: Fix zookeeper logs being swallowed due to missing log4j.properties

I ended up just using the default log4j properties file that comes
with Zookeeper. We might just want to write our own and use that in
the Vagrant image.

Testing Done:

In Vagrant:

sudo stop aurora-scheduler
sudo rm /var/log/upstart/aurora-scheduler.log
sudo start aurora-scheduler

No more message about a missing log4j appender.

Bugs closed: AURORA-244

Reviewed at https://reviews.apache.org/r/20249/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/6bd8722c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/6bd8722c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/6bd8722c

Branch: refs/heads/master
Commit: 6bd8722cf88ddedb36c5b2c7a4dae494f4cc4372
Parents: 5c6ab8f
Author: Dan Norris <protochron@gmail.com>
Authored: Mon Apr 14 12:48:30 2014 -0700
Committer: Kevin Sweeney <kevints@apache.org>
Committed: Mon Apr 14 12:48:30 2014 -0700

----------------------------------------------------------------------
 examples/vagrant/upstart/aurora-scheduler.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/6bd8722c/examples/vagrant/upstart/aurora-scheduler.conf
----------------------------------------------------------------------
diff --git a/examples/vagrant/upstart/aurora-scheduler.conf b/examples/vagrant/upstart/aurora-scheduler.conf
index ec9e1b8..f5ac4c8 100644
--- a/examples/vagrant/upstart/aurora-scheduler.conf
+++ b/examples/vagrant/upstart/aurora-scheduler.conf
@@ -25,7 +25,7 @@ env AURORA_HOME=/usr/local/aurora
 env DIST_DIR=/home/vagrant/aurora/dist
 
 # Flags that control the behavior of the JVM.
-env JAVA_OPTS='-Djava.library.path=/usr/local/lib'
+env JAVA_OPTS='-Djava.library.path=/usr/local/lib -Dlog4j.configuration="file:///etc/zookeeper/conf/log4j.properties"'
 
 exec $DIST_DIR/install/aurora-scheduler/bin/aurora-scheduler \
   -cluster_name=example \
@@ -41,4 +41,4 @@ exec $DIST_DIR/install/aurora-scheduler/bin/aurora-scheduler \
   -thermos_executor_path=$DIST_DIR/thermos_executor.pex \
   -gc_executor_path=$DIST_DIR/gc_executor.pex \
   -vlog=INFO \
-  -logtostderr
\ No newline at end of file
+  -logtostderr


Mime
View raw message