Remove config logger messages
@@ -18,8 +18,6 @@ package io.datakernel.config;
import com.google.common.base.Predicate;
import com.google.common.collect.Iterables;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import java.util.*;
@@ -54,7 +52,6 @@ public final class Configs {
};
public static final Config EMPTY_CONFIG = new AbstractConfig() {
- private final Logger logger = LoggerFactory.getLogger(Config.class);
@Override
protected String doGet() {
@@ -63,7 +60,6 @@ public final class Configs {
@Override
protected String doGet(String defaultString) {
- logger.warn("using default config value {} for unknown path", defaultString);
return defaultString;
}
@@ -99,7 +95,6 @@ public final class Configs {
public static Config ofValue(final String value) {
return new AbstractConfig() {
- private final Logger logger = LoggerFactory.getLogger(Config.class);
@Override
protected String doGet() {
@@ -108,7 +103,6 @@ public final class Configs {
@Override
protected String doGet(String defaultString) {
- logger.warn("using default config value {} for unknown path", defaultString);
return value;
}
@@ -217,7 +211,6 @@ public final class Configs {
public static Config ofMap(final Map<String, ? extends Config> map) {
return new AbstractConfig() {
- private final Logger logger = LoggerFactory.getLogger(Config.class);
@Override
protected String doGet() throws NoSuchElementException {
@@ -226,7 +219,6 @@ public final class Configs {
@Override
protected String doGet(String defaultString) {
- logger.warn("using default config value {} for unknown path", defaultString);
return defaultString;
}
