[ 
https://issues.apache.org/jira/browse/CASSANDRA-11659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmed AbouZaid updated CASSANDRA-11659:
---------------------------------------
    Summary: Set a variable for cassandra.logdir instead hardcoding in 
bin/cassandra.  (was: Fix bin/cassandra cassandra.logdir option.)

> Set a variable for cassandra.logdir instead hardcoding in bin/cassandra.
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11659
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11659
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Ahmed AbouZaid
>            Priority: Minor
>              Labels: patch
>         Attachments: cassandra_logdir_path_v.01.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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)

Reply via email to