summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vespa_feed_perf/src/main/java/com/yahoo/vespa/feed/perf/SimpleFeeder.java3
-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
3 files changed, 11 insertions, 1 deletions
diff --git a/vespa_feed_perf/src/main/java/com/yahoo/vespa/feed/perf/SimpleFeeder.java b/vespa_feed_perf/src/main/java/com/yahoo/vespa/feed/perf/SimpleFeeder.java
index aac7ab750bd..3ee5f1df37e 100644
--- a/vespa_feed_perf/src/main/java/com/yahoo/vespa/feed/perf/SimpleFeeder.java
+++ b/vespa_feed_perf/src/main/java/com/yahoo/vespa/feed/perf/SimpleFeeder.java
@@ -54,6 +54,8 @@ import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.atomic.AtomicReference;
+import java.util.logging.Level;
+import java.util.logging.Logger;
/**
* @author Simon Thoresen Hult
@@ -118,6 +120,7 @@ public class SimpleFeeder implements ReplyHandler {
public static void main(String[] args) throws Throwable {
+ Logger.getLogger("").setLevel(Level.WARNING);
new SimpleFeeder(new FeederParams().parseArgs(args)).run().close();
}
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);