Add log4j reloading to debian init. Patch by brandonwilliams reviewed by Rick Branson for CASSANDRA-4855
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0712c66f Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0712c66f Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0712c66f Branch: refs/heads/trunk Commit: 0712c66f5bbf7cd96524bf8b961cca057045bdae Parents: 77573c5 Author: Brandon Williams <[email protected]> Authored: Thu Oct 25 11:10:51 2012 -0500 Committer: Brandon Williams <[email protected]> Committed: Thu Oct 25 11:10:51 2012 -0500 ---------------------------------------------------------------------- debian/init | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/0712c66f/debian/init ---------------------------------------------------------------------- diff --git a/debian/init b/debian/init index 50fb6fe..e144dd1 100644 --- a/debian/init +++ b/debian/init @@ -141,6 +141,7 @@ do_start() -outfile /var/log/$NAME/output.log \ -cp `classpath` \ -Dlog4j.configuration=log4j-server.properties \ + -Dlog4j.defaultInitOverride=true \ -XX:HeapDumpPath="$cassandra_home/java_`date +%s`.hprof" \ -XX:ErrorFile="$cassandra_home/hs_err_`date +%s`.log" \ $JVM_OPTS \
