aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-04-21 07:45:22 +0000
committerArne Juul <arnej@verizonmedia.com>2021-04-21 07:45:22 +0000
commit5d220c6f8500dc1f3300a2849681f40c41bb6946 (patch)
treefa9522560784896b83398e6a3ced4afbda0db75f /vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java
parentfe1dfc345aa85b593ba536fa2607594751bb8d51 (diff)
turn up the logging level
* these tools are also in the category where users will consider any INFO level message noise. Since they don't use the vespa LogSetup, just increase the threshold programmatically.
Diffstat (limited to 'vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java')
-rw-r--r--vespaclient-java/src/main/java/com/yahoo/vespastat/Main.java4
1 files changed, 4 insertions, 0 deletions
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);