improve logging
the source of the default mappings should be trace logged
This commit is contained in:
parent
455d0be982
commit
ba6bc2a4df
|
@ -186,7 +186,11 @@ public class MapperService extends AbstractIndexComponent implements Iterable<Do
|
|||
"}";
|
||||
}
|
||||
|
||||
logger.debug("using dynamic[{}], default mapping: default_mapping_location[{}], loaded_from[{}] and source[{}], default percolator mapping: location[{}], loaded_from[{}] and source[{}]", dynamic, defaultMappingLocation, defaultMappingUrl, defaultMappingSource, percolatorMappingLocation, percolatorMappingUrl, percolatorMappingSource);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("using dynamic[{}], default mapping: default_mapping_location[{}], loaded_from[{}], default percolator mapping: location[{}], loaded_from[{}]", dynamic, defaultMappingLocation, defaultMappingUrl, percolatorMappingLocation, percolatorMappingUrl);
|
||||
} else if (logger.isTraceEnabled()) {
|
||||
logger.trace("using dynamic[{}], default mapping: default_mapping_location[{}], loaded_from[{}] and source[{}], default percolator mapping: location[{}], loaded_from[{}] and source[{}]", dynamic, defaultMappingLocation, defaultMappingUrl, defaultMappingSource, percolatorMappingLocation, percolatorMappingUrl, percolatorMappingSource);
|
||||
}
|
||||
}
|
||||
|
||||
public void close() {
|
||||
|
|
Loading…
Reference in New Issue