cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject [07/17] cassandra git commit: Revert "Fix GC logging on first start"
Date Thu, 30 Jun 2016 20:50:38 GMT
Revert "Fix GC logging on first start"

This reverts commit 3a61c106595745694a73970c780c3713776f4362.


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/82cdc861
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/82cdc861
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/82cdc861

Branch: refs/heads/cassandra-3.9
Commit: 82cdc8617a3ab121b17dc360b6259ac7c164eaa5
Parents: 8f5b8db
Author: Josh McKenzie <jmckenzie@apache.org>
Authored: Thu Jun 30 16:31:43 2016 -0400
Committer: Josh McKenzie <jmckenzie@apache.org>
Committed: Thu Jun 30 16:31:43 2016 -0400

----------------------------------------------------------------------
 conf/cassandra-env.ps1 | 1 -
 conf/cassandra-env.sh  | 1 -
 2 files changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/82cdc861/conf/cassandra-env.ps1
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.ps1 b/conf/cassandra-env.ps1
index 60d15bb..321a9ca 100644
--- a/conf/cassandra-env.ps1
+++ b/conf/cassandra-env.ps1
@@ -425,7 +425,6 @@ Function SetCassandraEnvironment
     $env:JVM_OPTS="$env:JVM_OPTS -XX:+PrintPromotionFailure"
     # $env:JVM_OPTS="$env:JVM_OPTS -XX:PrintFLSStatistics=1"
 
-    New-Item -Force -ItemType directory -Path $env:CASSANDRA_HOME/logs/
     $env:JVM_OPTS="$env:JVM_OPTS -Xloggc:""$env:CASSANDRA_HOME/logs/gc.log"""
     $env:JVM_OPTS="$env:JVM_OPTS -XX:+UseGCLogFileRotation"
     $env:JVM_OPTS="$env:JVM_OPTS -XX:NumberOfGCLogFiles=10"

http://git-wip-us.apache.org/repos/asf/cassandra/blob/82cdc861/conf/cassandra-env.sh
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index 5d2330c..b519b76 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -241,7 +241,6 @@ JVM_OPTS="$JVM_OPTS -XX:+PrintGCApplicationStoppedTime"
 JVM_OPTS="$JVM_OPTS -XX:+PrintPromotionFailure"
 #JVM_OPTS="$JVM_OPTS -XX:PrintFLSStatistics=1"
 
-mkdir -p ${CASSANDRA_HOME}/logs/
 JVM_OPTS="$JVM_OPTS -Xloggc:${CASSANDRA_HOME}/logs/gc.log"
 JVM_OPTS="$JVM_OPTS -XX:+UseGCLogFileRotation"
 JVM_OPTS="$JVM_OPTS -XX:NumberOfGCLogFiles=10"


Mime
View raw message