// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.zookeeper.cli;

import com.yahoo.vespa.zookeeper.client.ZkClientConfigBuilder;
import org.apache.zookeeper.ZooKeeperMain;

import java.io.IOException;

/**
 * @author bjorncs
 */
public class Main {
    public static void main(String[] args) throws IOException, InterruptedException {
        new ZkClientConfigBuilder()
                .toConfigProperties()
                .forEach(System::setProperty);
        ZooKeeperMain.main(args);
    }
}

@@ -243,16 +243,52 @@
 perMain;
+%0Aimport org.slf4j.impl.SimpleLogger;
 %0A%0Aimport
@@ -353,24 +353,117 @@
 lass Main %7B%0A
+%0A    static %7B%0A        System.setProperty(SimpleLogger.DEFAULT_LOG_LEVEL_KEY, %22WARN%22);%0A    %7D%0A%0A
     public s

Set default log level to WARN, to avoid excessive INFO log from ZK