[
https://issues.apache.org/jira/browse/CASSANDRA-16199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Houser reassigned CASSANDRA-16199:
----------------------------------------
Assignee: Brian Houser
> cassandra.logdir undefined when CASSANDRA_LOG_DIR
> -------------------------------------------------
>
> Key: CASSANDRA-16199
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16199
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Config
> Reporter: Cyril Scetbon
> Assignee: Brian Houser
> Priority: Normal
>
> When ${cassandra.logdir} is used in logback.xml nodetool doesn’t use the env
> variable CASSANDRA_LOG_DIR or the default value. and complains
> {noformat}
> 03:07:27,387 |-ERROR in
> ch.qos.logback.core.rolling.RollingFileAppender[DEBUGLOG] - Failed to create
> parent directories for [/cassandra.logdir_IS_UNDEFINED/debug.log]03:07:27,387
> |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[DEBUGLOG] - Failed
> to create parent directories for
> [/cassandra.logdir_IS_UNDEFINED/debug.log]03:07:27,388 |-ERROR in
> ch.qos.logback.core.rolling.RollingFileAppender[DEBUGLOG] -
> openFile(cassandra.logdir_IS_UNDEFINED/debug.log,true) call failed.
> java.io.FileNotFoundException: cassandra.logdir_IS_UNDEFINED/debug.log (No
> such file or directory) at java.io.FileNotFoundException:
> cassandra.logdir_IS_UNDEFINED/debug.log (No such file or directory)
> ...{noformat}
> It’s different for cassandra for instance
> [https://github.com/apache/cassandra/blob/324267b3c0676ad31bd4f2fac0e2e673a9257a37/bin/cassandra#L186].
> I feel like it should be added to
> [https://github.com/apache/cassandra/blob/06209037ea56b5a2a49615a99f1542d6ea1b2947/bin/nodetool],
> or that it should call cassandra-env.sh
>
> Seen on 3.11 and 4.0-beta1
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]