You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "mck (JIRA)" <ji...@apache.org> on 2019/04/20 12:05:00 UTC

[jira] [Commented] (CASSANDRA-15090) Customize cassandra log directory

    [ https://issues.apache.org/jira/browse/CASSANDRA-15090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822425#comment-16822425 ] 

mck commented on CASSANDRA-15090:
---------------------------------

[~gzh1992n], most C* operators will take one of the existing approaches:

 - append {{JVM_OPTS="$JVM_OPTS -Dcassandra.logdir=/your_log_dir"}}
 - edit {{conf/logback.xml}} changing the file value for the loggers


I'm curious as to what situations the {{$CASSANDRA_LOG_DIR}} approach is required, or preferred?

> Customize cassandra log directory
> ---------------------------------
>
>                 Key: CASSANDRA-15090
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15090
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Zephyr Guo
>            Assignee: Zephyr Guo
>            Priority: Normal
>         Attachments: CASSANDRA-15090-v1.patch
>
>
> Add a new variable CASSANDRA_LOG_DIR (default: $CASSANDRA_HOME/logs) so that we could customize log directory such as ‘/var/log/cassandra’ .
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org