You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ja...@apache.org on 2016/07/01 14:34:25 UTC

cassandra git commit: Revert "Fix GC logging on first start"

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.2.7 [created] 092054170


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/09205417
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/09205417
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/09205417

Branch: refs/heads/cassandra-2.2.7
Commit: 092054170ec3daf92ec494a0db295037d3563229
Parents: ea8c430
Author: Josh McKenzie <jm...@apache.org>
Authored: Thu Jun 30 16:31:43 2016 -0400
Committer: T Jake Luciani <ja...@apache.org>
Committed: Fri Jul 1 10:32:50 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/09205417/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/09205417/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"