diff options
Diffstat (limited to 'databases/cassandra3/files/patch-conf_cassandra-env.sh')
-rw-r--r-- | databases/cassandra3/files/patch-conf_cassandra-env.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/databases/cassandra3/files/patch-conf_cassandra-env.sh b/databases/cassandra3/files/patch-conf_cassandra-env.sh index ebf54baebaa8..a9d76e6bae50 100644 --- a/databases/cassandra3/files/patch-conf_cassandra-env.sh +++ b/databases/cassandra3/files/patch-conf_cassandra-env.sh @@ -1,11 +1,11 @@ ---- conf/cassandra-env.sh.orig 2018-09-07 21:30:15 UTC +--- conf/cassandra-env.sh.orig 2020-02-10 22:55:14 UTC +++ conf/cassandra-env.sh -@@ -122,7 +122,7 @@ case "$jvm" in - esac +@@ -123,7 +123,7 @@ esac - #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" -+JVM_OPTS="$JVM_OPTS -Xloggc:/var/log/cassandra/gc.log" + # Sets the path where logback and GC logs are written. + if [ "x$CASSANDRA_LOG_DIR" = "x" ] ; then +- CASSANDRA_LOG_DIR="$CASSANDRA_HOME/logs" ++ CASSANDRA_LOG_DIR="/var/log/cassandra" + fi - # Here we create the arguments that will get passed to the jvm when - # starting cassandra. + #GC log path has to be defined here because it needs to access CASSANDRA_HOME |