mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.9
This commit is contained in:
commit
0294fd8911
|
|
@ -327,6 +327,7 @@ Function SetCassandraEnvironment
|
|||
# times. If in doubt, and if you do not particularly want to tweak, go
|
||||
# 100 MB per physical CPU core.
|
||||
|
||||
New-Item -Force -ItemType directory -Path $env:CASSANDRA_HOME/logs/
|
||||
#GC log path has to be defined here since it needs to find CASSANDRA_HOME
|
||||
$env:JVM_OPTS="$env:JVM_OPTS -Xloggc:""$env:CASSANDRA_HOME/logs/gc.log"""
|
||||
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ case "$jvm" in
|
|||
;;
|
||||
esac
|
||||
|
||||
mkdir -p ${CASSANDRA_HOME}/logs/
|
||||
#GC log path has to be defined here because it needs to access CASSANDRA_HOME
|
||||
JVM_OPTS="$JVM_OPTS -Xloggc:${CASSANDRA_HOME}/logs/gc.log"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue