summaryrefslogtreecommitdiffstats
path: root/vespaclient-java
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient-java')
-rw-r--r--vespaclient-java/src/main/java/com/yahoo/vespaget/Main.java5
-rw-r--r--vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java4
2 files changed, 8 insertions, 1 deletions
diff --git a/vespaclient-java/src/main/java/com/yahoo/vespaget/Main.java b/vespaclient-java/src/main/java/com/yahoo/vespaget/Main.java
index 6b3938f9cf8..da688c80252 100644
--- a/vespaclient-java/src/main/java/com/yahoo/vespaget/Main.java
+++ b/vespaclient-java/src/main/java/com/yahoo/vespaget/Main.java
@@ -1,10 +1,12 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespaget;
-
import com.yahoo.documentapi.messagebus.loadtypes.LoadTypeSet;
import com.yahoo.vespaclient.ClusterList;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
/**
* The vespa-get tool retrieves documents from a Vespa Document Storage cluster, and prints them to stdout as XML.
*
@@ -14,6 +16,7 @@ public class Main {
public static void main(String[] args) {
try {
+ Logger.getLogger("").setLevel(Level.WARNING);
CommandLineOptions options = new CommandLineOptions();
ClientParameters params = options.parseCommandLineArguments(args);
diff --git a/vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java b/vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java
index d3f05e18841..c7698a81667 100644
--- a/vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java
+++ b/vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java
@@ -1,6 +1,9 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespastat;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
/**
* Main application class
*
@@ -12,6 +15,7 @@ public class Main {
}
public static void main(String[] args) {
+ Logger.getLogger("").setLevel(Level.WARNING);
CommandLineOptions options = new CommandLineOptions();
try {
ClientParameters params = options.parseCommandLineArguments(args);