WW-4733 Reduces noise in the logs

This commit is contained in:
Lukasz Lenart
2017-01-12 08:06:59 +01:00
parent ff8d731594
commit 20c54df03a
@@ -757,7 +757,7 @@ public class XmlConfigurationProvider implements ConfigurationProvider {
{
// if <result ...>something</result> then we add a parameter of 'something' as this is the most used result param
if (resultElement.getChildNodes().getLength() >= 1) {
resultParams = new LinkedHashMap<String, String>();
resultParams = new LinkedHashMap<>();
String paramName = config.getDefaultResultParam();
if (paramName != null) {
@@ -775,7 +775,7 @@ public class XmlConfigurationProvider implements ConfigurationProvider {
resultParams.put(paramName, val);
}
} else {
LOG.warn("No default parameter defined for result [{}] of type [{}] ", config.getName(), config.getClassName());
LOG.debug("No default parameter defined for result [{}] of type [{}] ", config.getName(), config.getClassName());
}
}
}