cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject [14/22] cassandra git commit: Ninja: suppress printed output on dir creation in Win32 startup
Date Thu, 30 Jun 2016 17:37:35 GMT
Ninja: suppress printed output on dir creation in Win32 startup


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

Branch: refs/heads/cassandra-3.9
Commit: 3041034fb94aac7080c78ea82e1dd9fe8ce046a6
Parents: fdee942
Author: Josh McKenzie <jmckenzie@apache.org>
Authored: Thu Jun 30 13:35:20 2016 -0400
Committer: Josh McKenzie <jmckenzie@apache.org>
Committed: Thu Jun 30 13:35:20 2016 -0400

----------------------------------------------------------------------
 conf/cassandra-env.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/3041034f/conf/cassandra-env.ps1
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.ps1 b/conf/cassandra-env.ps1
index 60d15bb..8d4c254 100644
--- a/conf/cassandra-env.ps1
+++ b/conf/cassandra-env.ps1
@@ -425,7 +425,7 @@ 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/
+    New-Item -Force -ItemType directory -Path $env:CASSANDRA_HOME/logs/ | Out-Null
     $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"


Mime
View raw message