cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmed AbouZaid (JIRA)" <>
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
             Project: Cassandra
          Issue Type: Bug
          Components: Packaging
            Reporter: Ahmed AbouZaid
            Priority: Minor
         Attachments: cassandra_logdir_path_v.01.patch

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:
cassandra_parms="$cassandra_parms -Dcassandra.logdir=$cassandra_logdir"
cassandra_parms="$cassandra_parms -Dcassandra.storagedir=$cassandra_storagedir"

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

This message was sent by Atlassian JIRA

View raw message