You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Darla Baker (JIRA)" <ji...@apache.org> on 2013/10/09 02:59:42 UTC

[jira] [Created] (CASSANDRA-6170) Modify AbstractCassandraDaemon.initLog4j() to allow for hotfixing log level on on a cassandra class

Darla Baker created CASSANDRA-6170:
--------------------------------------

             Summary: Modify AbstractCassandraDaemon.initLog4j() to allow for hotfixing log level on on a cassandra class
                 Key: CASSANDRA-6170
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6170
             Project: Cassandra
          Issue Type: New Feature
          Components: Config
            Reporter: Darla Baker


When customer wants to bump up log level of a cassandra class, here is the procedure they follow:

# Add the class name and log level to log4j-server.properties into a revision identified directory.
# The new directory is then symbolically linked to the location where cassandra looks for that directory.

However cassandra and it's log4j continue to watch the old location 

The reason for this AbstractCassandraDaemon.initLog4j() uses this 

configFileName = new File(configLocation.toURI()).getCanonicalPath();

The customer believes if we change that to the following, this will allow the symlink to work properly.

configFileName = new File(configLocation.toURI()).getPath();

If it were possible to add a configuration that would invoke this change on "True" that would be ideal.  Or find another method to allow hotfixing the log4j changes.



--
This message was sent by Atlassian JIRA
(v6.1#6144)