cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmed AbouZaid (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11659) Fix bin/cassandra cassandra.logdir option.
Date Tue, 26 Apr 2016 10:51:12 GMT
Ahmed AbouZaid created CASSANDRA-11659:
------------------------------------------

             Summary: Fix bin/cassandra cassandra.logdir option.
                 Key: CASSANDRA-11659
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11659
             Project: Cassandra
          Issue Type: Bug
          Components: Packaging
            Reporter: Ahmed AbouZaid
            Priority: Minor
         Attachments: cassandra_logdir_path_v.01.patch

Hello,
I think we need a way to overwrite value of "cassandra.logdir", that in case the user needs
to change logdir path.

Since it's hard-coded inside "/usr/sbin/cassandra" (as "/var/log/cassandra" or  "$CASSANDRA_HOME/logs")
and also it's defined after includes, so it should be as variable, just like "cassandra.storagedir".

Something like that:
{code}
cassandra_parms="$cassandra_parms -Dcassandra.logdir=$cassandra_logdir"
cassandra_parms="$cassandra_parms -Dcassandra.storagedir=$cassandra_storagedir"
{code}

And as in Debian, we can set "/var/log/cassandra" as default value somewhere.
Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message