From e16e634eae3f57216acde926475e76ab9b14b33a Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Mon, 5 Aug 2024 12:31:54 +0200 Subject: [PATCH] Revert "Temporarily log juteMaxBuffer" --- zkfacade/src/main/java/com/yahoo/vespa/curator/Curator.java | 3 --- .../src/main/java/com/yahoo/vespa/zookeeper/Configurator.java | 2 -- 2 files changed, 5 deletions(-) diff --git a/zkfacade/src/main/java/com/yahoo/vespa/curator/Curator.java b/zkfacade/src/main/java/com/yahoo/vespa/curator/Curator.java index 846c7cd6d99d..0898b0be89d3 100644 --- a/zkfacade/src/main/java/com/yahoo/vespa/curator/Curator.java +++ b/zkfacade/src/main/java/com/yahoo/vespa/curator/Curator.java @@ -48,8 +48,6 @@ import java.util.logging.Level; import java.util.logging.Logger; -import static java.util.logging.Level.INFO; - /** * Curator interface for Vespa. * This contains method for constructing common recipes and utilities as well as @@ -131,7 +129,6 @@ private Curator(ConnectionSpec connectionSpec, CuratorFramework curatorFramework this.connectionSpec = Objects.requireNonNull(connectionSpec); this.curatorFramework = Objects.requireNonNull(curatorFramework); this.juteMaxBuffer = juteMaxBuffer; - LOG.log(INFO, "Using juteMaxBuffer=" + this.juteMaxBuffer); this.sessionTimeout = sessionTimeout; addLoggingListener(); curatorFramework.start(); diff --git a/zookeeper-server/zookeeper-server-common/src/main/java/com/yahoo/vespa/zookeeper/Configurator.java b/zookeeper-server/zookeeper-server-common/src/main/java/com/yahoo/vespa/zookeeper/Configurator.java index 1fd354fccd99..06e4d0da00c5 100644 --- a/zookeeper-server/zookeeper-server-common/src/main/java/com/yahoo/vespa/zookeeper/Configurator.java +++ b/zookeeper-server/zookeeper-server-common/src/main/java/com/yahoo/vespa/zookeeper/Configurator.java @@ -25,7 +25,6 @@ import static com.yahoo.stream.CustomCollectors.toLinkedMap; import static com.yahoo.vespa.defaults.Defaults.getDefaults; -import static java.util.logging.Level.INFO; public class Configurator { @@ -48,7 +47,6 @@ public Configurator(ZookeeperServerConfig zookeeperServerConfig) { // Doc says that it is max size of data in a zookeeper node, but it goes for everything that // needs to be serialized, see https://issues.apache.org/jira/browse/ZOOKEEPER-1162 for details System.setProperty(ZOOKEEPER_JUTE_MAX_BUFFER, Integer.valueOf(zookeeperServerConfig.juteMaxBuffer()).toString()); - log.log(INFO, "Using juteMaxBuffer=" + zookeeperServerConfig.juteMaxBuffer()); // Need to set this as a system properties instead of config, config does not work System.setProperty("zookeeper.authProvider.x509", "com.yahoo.vespa.zookeeper.VespaMtlsAuthenticationProvider"); // Need to set this as a system property, otherwise it will be parsed for _every_ packet and an exception will be thrown (and handled)