aboutsummaryrefslogtreecommitdiff
path: root/databases/cassandra4/files/patch-bin_cassandra
blob: 40ea8dcd46d895f76a42aa2a74bd5d36c37f67cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- bin/cassandra.orig	2020-04-10 22:29:25 UTC
+++ bin/cassandra
@@ -31,7 +31,7 @@
 #   JVM_OPTS -- Additional arguments to the JVM for heap size, etc
 #   JVM_ON_OUT_OF_MEMORY_ERROR_OPT -- The OnOutOfMemoryError JVM option if specified
 #   CASSANDRA_CONF -- Directory containing Cassandra configuration files.
-#   CASSANDRA_LOG_DIR -- Directory containing logs(default: $CASSANDRA_HOME/logs).
+#   CASSANDRA_LOG_DIR -- Directory containing logs(default: /var/log/cassandra).
 #
 # As a convenience, a fragment of shell is sourced in order to set one or
 # more of these variables. This so-called `include' can be placed in a 
@@ -116,7 +116,7 @@ if [ -f "$CASSANDRA_CONF/cassandra-env.sh" ]; then
 fi
 
 if [ -z "$CASSANDRA_LOG_DIR" ]; then
-  CASSANDRA_LOG_DIR=$CASSANDRA_HOME/logs
+  CASSANDRA_LOG_DIR=/var/log/cassandra
 fi
 
 # Special-case path variables.