cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [3/6] git commit: Allow log4j-server.properties to be a symlink. Patch by brandonwilliams, reviewed by iamaleksey for CASSANDRA-6170
Date Mon, 14 Oct 2013 21:38:52 GMT
Allow log4j-server.properties to be a symlink.
Patch by brandonwilliams, reviewed by iamaleksey for CASSANDRA-6170


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d6d35ba3
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d6d35ba3
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d6d35ba3

Branch: refs/heads/trunk
Commit: d6d35ba31e193cfd6f73019c3dbe97670f782e61
Parents: bafb966
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Mon Oct 14 16:34:49 2013 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Mon Oct 14 16:35:35 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/CassandraDaemon.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d6d35ba3/src/java/org/apache/cassandra/service/CassandraDaemon.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/CassandraDaemon.java b/src/java/org/apache/cassandra/service/CassandraDaemon.java
index 448bb0a..5169d00 100644
--- a/src/java/org/apache/cassandra/service/CassandraDaemon.java
+++ b/src/java/org/apache/cassandra/service/CassandraDaemon.java
@@ -108,7 +108,7 @@ public class CassandraDaemon
                 File configFile = new File(configFileName);
                 // then try alternative approach which works for all hierarchical URLs with
or without spaces
                 if (!configFile.exists())
-                    configFileName = new File(configLocation.toURI()).getCanonicalPath();
+                    configFileName = new File(configLocation.toURI()).getPath();
             }
             catch (Exception e)
             {


Mime
View raw message