You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2022/07/25 15:33:00 UTC

[jira] [Updated] (CASSANDRA-17773) Incorrect cassandra.logdir on Debian systems

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

Brandon Williams updated CASSANDRA-17773:
-----------------------------------------
     Bug Category: Parent values: Packaging(13660)Level 1 values: Package Distribution(13662)
       Complexity: Normal
    Discovered By: User Report
    Fix Version/s: 3.0.x
                   3.11.x
                   4.0.x
                   4.1-rc
         Severity: Normal
           Status: Open  (was: Triage Needed)

> Incorrect cassandra.logdir on Debian systems
> --------------------------------------------
>
>                 Key: CASSANDRA-17773
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17773
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Eric Evans
>            Priority: Normal
>             Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1-rc
>
>
> The Debian packaging patches bin/cassandra to use /var/log/cassandra for logs, it does so conditionally however, only if CASSANDRA_LOG_DIR is unset. This occurs _after_ cassandra-env.sh is sourced though, which also sets CASSANDRA_LOG_DIR if unset (to $CASSANDRA_HOME/logs).  The result is that -Dcassandra.lodir is set to /usr/share/cassandra/logs on Debian systems.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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