summaryrefslogtreecommitdiffstats
path: root/config-application-package
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-04-24 15:43:42 +0200
committergjoranv <gv@verizonmedia.com>2020-04-25 02:22:56 +0200
commitee9e892838733da49d5ea2b74e456751c05c3f18 (patch)
treecbe13cfe4e3579110c2751826f5701d93134f953 /config-application-package
parent816e0e5dcd0987e8be4e3ea66402c83b770dd467 (diff)
LogLevel.WARNING -> Level.WARNING
Diffstat (limited to 'config-application-package')
-rw-r--r--config-application-package/src/main/java/com/yahoo/config/application/PropertiesProcessor.java2
-rw-r--r--config-application-package/src/main/java/com/yahoo/config/application/Xml.java2
-rw-r--r--config-application-package/src/main/java/com/yahoo/config/model/application/provider/StaticConfigDefinitionRepo.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/config-application-package/src/main/java/com/yahoo/config/application/PropertiesProcessor.java b/config-application-package/src/main/java/com/yahoo/config/application/PropertiesProcessor.java
index 2966030db40..1c5ea8510cb 100644
--- a/config-application-package/src/main/java/com/yahoo/config/application/PropertiesProcessor.java
+++ b/config-application-package/src/main/java/com/yahoo/config/application/PropertiesProcessor.java
@@ -42,7 +42,7 @@ class PropertiesProcessor implements PreProcessor {
//System.out.println("Found " + node.getNodeName() + ", " + node.getTextContent());
final String propertyName = node.getNodeName();
if (properties.containsKey(propertyName)) {
- log.log(LogLevel.WARNING, "Duplicate definition for property '" + propertyName + "' detected");
+ log.log(Level.WARNING, "Duplicate definition for property '" + propertyName + "' detected");
}
properties.put(propertyName, node.getTextContent());
}
diff --git a/config-application-package/src/main/java/com/yahoo/config/application/Xml.java b/config-application-package/src/main/java/com/yahoo/config/application/Xml.java
index afc6634b4cd..c48a41083c7 100644
--- a/config-application-package/src/main/java/com/yahoo/config/application/Xml.java
+++ b/config-application-package/src/main/java/com/yahoo/config/application/Xml.java
@@ -61,7 +61,7 @@ public class Xml {
try {
return factory.newDocumentBuilder();
} catch (ParserConfigurationException e) {
- log.log(LogLevel.WARNING, "No XML parser available - " + e);
+ log.log(Level.WARNING, "No XML parser available - " + e);
return null;
}
}
diff --git a/config-application-package/src/main/java/com/yahoo/config/model/application/provider/StaticConfigDefinitionRepo.java b/config-application-package/src/main/java/com/yahoo/config/model/application/provider/StaticConfigDefinitionRepo.java
index 8faef6b2ce6..c930adfb115 100644
--- a/config-application-package/src/main/java/com/yahoo/config/model/application/provider/StaticConfigDefinitionRepo.java
+++ b/config-application-package/src/main/java/com/yahoo/config/model/application/provider/StaticConfigDefinitionRepo.java
@@ -47,7 +47,7 @@ public class StaticConfigDefinitionRepo implements ConfigDefinitionRepo {
ConfigDefinitionKey key = ConfigUtils.createConfigDefinitionKeyFromDefFile(def);
addConfigDefinition(key, def);
} catch (IOException e) {
- log.log(LogLevel.WARNING, "Exception adding config definition " + def, e);
+ log.log(Level.WARNING, "Exception adding config definition " + def, e);
}
}