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:56 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 0d9368a86 -> 2925f3707


[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/2925f370
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/2925f370
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/2925f370

Branch: refs/heads/master
Commit: 2925f3707647c064c965187affff9fe249e3a8d0
Parents: 0d9368a
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:46:33 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/2925f370/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