karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject karaf git commit: [KARAF-4864] Change the default Karaf client log Level to 0
Date Mon, 28 Nov 2016 15:51:19 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x 3013f4548 -> 6c03e3223


[KARAF-4864] Change the default Karaf client log Level to 0


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

Branch: refs/heads/karaf-4.0.x
Commit: 6c03e32231e1defd8121aae4d30622b22e8b7003
Parents: 3013f45
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Mon Nov 28 16:46:33 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Mon Nov 28 16:47:20 2016 +0100

----------------------------------------------------------------------
 client/src/main/java/org/apache/karaf/client/ClientConfig.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/6c03e322/client/src/main/java/org/apache/karaf/client/ClientConfig.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/karaf/client/ClientConfig.java b/client/src/main/java/org/apache/karaf/client/ClientConfig.java
index 471ba06..a02eef3 100644
--- a/client/src/main/java/org/apache/karaf/client/ClientConfig.java
+++ b/client/src/main/java/org/apache/karaf/client/ClientConfig.java
@@ -69,7 +69,7 @@ public class ClientConfig {
             portString = replaceVariable(portString, "8101", customCfg);
         }
         port = Integer.parseInt(portString);
-        level = Integer.parseInt(shellCfg.getProperty("logLevel", "1"));
+        level = Integer.parseInt(shellCfg.getProperty("logLevel", "0"));
         retryAttempts = 0;
         retryDelay = 2;
         idleTimeout = Long.parseLong(shellCfg.getProperty("sshIdleTimeout", "1800000"));


Mime
View raw message