Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
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.