cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject cassandra git commit: Lower logging to WARN in checkDataDirs startup check
Date Fri, 21 Aug 2015 13:42:54 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.2 a3fc425df -> cd46ca17b


Lower logging to WARN in checkDataDirs startup check


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

Branch: refs/heads/cassandra-2.2
Commit: cd46ca17bc662d4add822a44334ec976376a7a45
Parents: a3fc425
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Fri Aug 21 16:43:15 2015 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Fri Aug 21 16:43:15 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cd46ca17/src/java/org/apache/cassandra/service/StartupChecks.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/StartupChecks.java b/src/java/org/apache/cassandra/service/StartupChecks.java
index 2d4686b..4934dea 100644
--- a/src/java/org/apache/cassandra/service/StartupChecks.java
+++ b/src/java/org/apache/cassandra/service/StartupChecks.java
@@ -195,7 +195,7 @@ public class StartupChecks
                 // check that directories exist.
                 if (!dir.exists())
                 {
-                    logger.error("Directory {} doesn't exist", dataDir);
+                    logger.warn("Directory {} doesn't exist", dataDir);
                     // if they don't, failing their creation, stop cassandra.
                     if (!dir.mkdirs())
                         throw new StartupException(3, "Has no permission to create directory
"+ dataDir);


Mime
View raw message